NFS: Remove use of the Big Kernel Lock around calls to rpc_call_sync
Remove use of the Big Kernel Lock around calls to rpc_call_sync. Signed-off-by: Frank Filz <ffilz@us.ibm.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:

committed by
Trond Myklebust

parent
a99b71c9c4
commit
cae823c4c0
@@ -545,13 +545,10 @@ nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
|
||||
};
|
||||
int status;
|
||||
|
||||
lock_kernel();
|
||||
|
||||
dprintk("NFS call readdir %d\n", (unsigned int)cookie);
|
||||
status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0);
|
||||
|
||||
dprintk("NFS reply readdir: %d\n", status);
|
||||
unlock_kernel();
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user