summaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-03 08:09:56 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-03 08:09:56 -0500
commit96f287b0cf512ee537826943c15b0b8647472f70 (patch)
tree41ee4d27b988d3f2ba708c31451859e3c8ffca42 /fs/nfs/super.c
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
downloadlinux-96f287b0cf512ee537826943c15b0b8647472f70.tar.gz
linux-96f287b0cf512ee537826943c15b0b8647472f70.tar.bz2
linux-96f287b0cf512ee537826943c15b0b8647472f70.zip
NFS: BKL removal from the mount code...
None of the code in nfs_umount_begin() or nfs_remount() has any BKL dependency. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 90be551b80c1..f0188eaf3726 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -714,8 +714,6 @@ static void nfs_umount_begin(struct super_block *sb)
struct nfs_server *server;
struct rpc_clnt *rpc;
- lock_kernel();
-
server = NFS_SB(sb);
/* -EIO all pending I/O */
rpc = server->client_acl;
@@ -724,8 +722,6 @@ static void nfs_umount_begin(struct super_block *sb)
rpc = server->client;
if (!IS_ERR(rpc))
rpc_killall_tasks(rpc);
-
- unlock_kernel();
}
static struct nfs_parsed_mount_data *nfs_alloc_parsed_mount_data(unsigned int version)
@@ -1881,7 +1877,6 @@ nfs_remount(struct super_block *sb, int *flags, char *raw_data)
if (data == NULL)
return -ENOMEM;
- lock_kernel();
/* fill out struct with values from existing mount */
data->flags = nfss->flags;
data->rsize = nfss->rsize;
@@ -1907,7 +1902,6 @@ nfs_remount(struct super_block *sb, int *flags, char *raw_data)
error = nfs_compare_remount_data(nfss, data);
out:
kfree(data);
- unlock_kernel();
return error;
}