commit | beb84dc8186662b17d5ea510fabb85cb7e266d33 | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Fri Mar 03 23:36:34 2006 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Fri Mar 03 23:36:34 2006 +0000 |
tree | e196f2aa1b55d5cd3ba6dc7a6990979022f6e8fc | |
parent | c6ee60b7c8bbc78e3b1776b2820a7e7f95f8996a [diff] [blame] |
[CIFS] Set correct lock type on new posix unlock call Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 71a30fd..2c093de 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c
@@ -698,7 +698,7 @@ posix_lock_type = CIFS_WRLCK; if(numUnlock == 1) - posix_lock_type |= CIFS_UNLCK; + posix_lock_type = CIFS_UNLCK; else if(numLock == 0) { /* if no lock or unlock then nothing to do since we do not know what it is */