|
@@ -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! */
|