aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 026b5c5ccc89..ef455dda0473 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -650,7 +650,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
650 netfid, length, 650 netfid, length,
651 pfLock->fl_start, numUnlock, numLock, lockType, 651 pfLock->fl_start, numUnlock, numLock, lockType,
652 wait_flag); 652 wait_flag);
653 if (rc == 0 && (pfLock->fl_flags & FL_POSIX)) 653 if (pfLock->fl_flags & FL_POSIX)
654 posix_lock_file_wait(file, pfLock); 654 posix_lock_file_wait(file, pfLock);
655 FreeXid(xid); 655 FreeXid(xid);
656 return rc; 656 return rc;