aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-04-07 13:21:08 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-04-09 09:08:54 -0400
commitc383747ef674467d02dd9c9320a47de2067b0ce3 (patch)
treebd1db86b7c042b40df70ce3586cf330c73b8b173 /fs/nfsd
parent2c44a23471d048118e49b616d08df0729cdbd9f1 (diff)
nfsd4: remove some redundant comments
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 9cb9f6e3f5f2..1226ff6030bd 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4432,17 +4432,11 @@ nfsd4_locku(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
4432 locku->lu_length); 4432 locku->lu_length);
4433 nfs4_transform_lock_offset(file_lock); 4433 nfs4_transform_lock_offset(file_lock);
4434 4434
4435 /*
4436 * Try to unlock the file in the VFS.
4437 */
4438 err = vfs_lock_file(filp, F_SETLK, file_lock, NULL); 4435 err = vfs_lock_file(filp, F_SETLK, file_lock, NULL);
4439 if (err) { 4436 if (err) {
4440 dprintk("NFSD: nfs4_locku: vfs_lock_file failed!\n"); 4437 dprintk("NFSD: nfs4_locku: vfs_lock_file failed!\n");
4441 goto out_nfserr; 4438 goto out_nfserr;
4442 } 4439 }
4443 /*
4444 * OK, unlock succeeded; the only thing left to do is update the stateid.
4445 */
4446 update_stateid(&stp->st_stid.sc_stateid); 4440 update_stateid(&stp->st_stid.sc_stateid);
4447 memcpy(&locku->lu_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); 4441 memcpy(&locku->lu_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t));
4448 4442