diff options
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 4529cc4f3f8f..7a9013dd5d0a 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c | |||
@@ -545,13 +545,10 @@ nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, | |||
545 | }; | 545 | }; |
546 | int status; | 546 | int status; |
547 | 547 | ||
548 | lock_kernel(); | ||
549 | |||
550 | dprintk("NFS call readdir %d\n", (unsigned int)cookie); | 548 | dprintk("NFS call readdir %d\n", (unsigned int)cookie); |
551 | status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); | 549 | status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); |
552 | 550 | ||
553 | dprintk("NFS reply readdir: %d\n", status); | 551 | dprintk("NFS reply readdir: %d\n", status); |
554 | unlock_kernel(); | ||
555 | return status; | 552 | return status; |
556 | } | 553 | } |
557 | 554 | ||