projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a6e42
)
[CIFS] remove sparse warning
author
Steve French
<sfrench@us.ibm.com>
Tue, 2 Dec 2008 18:53:55 +0000
(18:53 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 26 Dec 2008 02:29:10 +0000
(
02:29
+0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c
patch
|
blob
|
history
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index babd27a4699a3b5804de0e901e225f7aa1dcb100..b1e1fc6a6e6a0247ea9a2b7a0755339f69a597bb 100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-708,7
+708,7
@@
int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
if ((tcon->ses->capabilities & CAP_UNIX) &&
(CIFS_UNIX_FCNTL_CAP & le64_to_cpu(tcon->fsUnixInfo.Capability)) &&
- (
cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL
== 0))
+ (
(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL)
== 0))
posix_locking = 1;
/* BB add code here to normalize offset and length to
account for negative length which we can not accept over the