summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-08-06 11:00:27 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-08-20 18:39:42 -0400
commit1696c47ce2f42e671f6a17682b533273f4ac7963 (patch)
treea493213f46c77ea26891d2927bb125fa43f31b36 /fs/nfsd/nfs4state.c
parent0ee5c6d632324a4b278cb0b29eb8effce4c8a358 (diff)
downloadlinux-1696c47ce2f42e671f6a17682b533273f4ac7963.tar.gz
linux-1696c47ce2f42e671f6a17682b533273f4ac7963.tar.bz2
linux-1696c47ce2f42e671f6a17682b533273f4ac7963.zip
nfsd: trivial comment updates
locks.c doesn't use the BKL anymore and there is no fi_perfile field. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index cc894eda385a..566a9b75fa0e 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4151,11 +4151,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
file_lock.fl_end = last_byte_offset(lock->lk_offset, lock->lk_length);
nfs4_transform_lock_offset(&file_lock);
- /*
- * Try to lock the file in the VFS.
- * Note: locks.c uses the BKL to protect the inode's lock list.
- */
-
err = vfs_lock_file(filp, F_SETLK, &file_lock, &conflock);
switch (-err) {
case 0: /* success! */