| To: | linux-fsdevel@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 27/27] BKL: Remove BKL from xfs |
| From: | Jan Blunck <jblunck@xxxxxxx> |
| Date: | Mon, 2 Nov 2009 11:05:07 +0100 |
| Cc: | Matthew Wilcox <matthew@xxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Jan Blunck <jblunck@xxxxxxx>, Alex Elder <aelder@xxxxxxx>, xfs-masters@xxxxxxxxxxx, Christoph Hellwig <hch@xxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, Niv Sardi <xaiki@xxxxxxx>, Felix Blyakher <felixb@xxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <1257156307-24175-1-git-send-email-jblunck@xxxxxxx> |
| References: | <1257156307-24175-1-git-send-email-jblunck@xxxxxxx> |
BKL is only used in fill_super. It is safe to remove it.
Signed-off-by: Jan Blunck <jblunck@xxxxxxx>
---
fs/xfs/linux-2.6/xfs_super.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 7426166..18a4b8e 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -1412,8 +1412,6 @@ xfs_fs_fill_super(
int flags = 0, error = ENOMEM;
char *mtpt = NULL;
- lock_kernel();
-
mp = kzalloc(sizeof(struct xfs_mount), GFP_KERNEL);
if (!mp)
goto out;
@@ -1508,7 +1506,6 @@ xfs_fs_fill_super(
kfree(mtpt);
xfs_itrace_exit(XFS_I(sb->s_root->d_inode));
- unlock_kernel();
return 0;
out_filestream_unmount:
@@ -1525,7 +1522,6 @@ xfs_fs_fill_super(
kfree(mtpt);
kfree(mp);
out:
- unlock_kernel();
return -error;
fail_vnrele:
--
1.6.4.2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 01/27] BKL: Push down BKL from do_new_mount() to the filesystems get_sb/fill_super operation, Jan Blunck |
|---|---|
| Next by Date: | 企 m?q 有 i 利, wmc62k22 |
| Previous by Thread: | [PATCH 01/27] BKL: Push down BKL from do_new_mount() to the filesystems get_sb/fill_super operation, Jan Blunck |
| Next by Thread: | 企 m?q 有 i 利, wmc62k22 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |