diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 71a30fd76aa8..2c093de26225 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -698,7 +698,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock) | |||
698 | posix_lock_type = CIFS_WRLCK; | 698 | posix_lock_type = CIFS_WRLCK; |
699 | 699 | ||
700 | if(numUnlock == 1) | 700 | if(numUnlock == 1) |
701 | posix_lock_type |= CIFS_UNLCK; | 701 | posix_lock_type = CIFS_UNLCK; |
702 | else if(numLock == 0) { | 702 | else if(numLock == 0) { |
703 | /* if no lock or unlock then nothing | 703 | /* if no lock or unlock then nothing |
704 | to do since we do not know what it is */ | 704 | to do since we do not know what it is */ |