summaryrefslogtreecommitdiffstats
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-06-11 13:26:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-07-15 18:10:53 -0400
commitbba67e0e3f4caba2b2b90b48ed798fb0461bcb86 (patch)
treec13781f1265ccd73b4f71a33e9bb22931e954c1e /fs/nfs/file.c
parentb6a2e569e2157509951c9f3f58dfa18b44ce91b3 (diff)
downloadop-kernel-dev-bba67e0e3f4caba2b2b90b48ed798fb0461bcb86.zip
op-kernel-dev-bba67e0e3f4caba2b2b90b48ed798fb0461bcb86.tar.gz
NFS: Remove BKL usage from open()
All the NFSv4 stateful operations are already protected by other locks (in particular by the rpc_sequence locks. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r--fs/nfs/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index f919d9a..9f1bed9 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -128,9 +128,7 @@ nfs_file_open(struct inode *inode, struct file *filp)
return res;
nfs_inc_stats(inode, NFSIOS_VFSOPEN);
- lock_kernel();
res = nfs_open(inode, filp);
- unlock_kernel();
return res;
}
OpenPOWER on IntegriCloud