projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ee60b
)
[CIFS] Set correct lock type on new posix unlock call
author
Steve French
<sfrench@us.ibm.com>
Fri, 3 Mar 2006 23:36:34 +0000
(23:36 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 3 Mar 2006 23:36:34 +0000
(23:36 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index 71a30fd76aa8c17fbf47ef928f3c355a41c260c5..2c093de26225569b673037769b08cf6f90fe275b 100644
(file)
--- 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)
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 */