aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-12-02 13:53:55 -0500
committerSteve French <sfrench@us.ibm.com>2008-12-25 21:29:10 -0500
commitacc18aa1e643519035abdab5e72dc75e534b5198 (patch)
treee2c6213f8834c90c6f5405b9606844a993b81117 /fs/cifs/file.c
parent13a6e42af8d90e2e8eb7fa50adf862a525b70518 (diff)
[CIFS] remove sparse warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/file.c')
-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 babd27a4699a..b1e1fc6a6e6a 100644
--- 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)
708 708
709 if ((tcon->ses->capabilities & CAP_UNIX) && 709 if ((tcon->ses->capabilities & CAP_UNIX) &&
710 (CIFS_UNIX_FCNTL_CAP & le64_to_cpu(tcon->fsUnixInfo.Capability)) && 710 (CIFS_UNIX_FCNTL_CAP & le64_to_cpu(tcon->fsUnixInfo.Capability)) &&
711 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL == 0)) 711 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0))
712 posix_locking = 1; 712 posix_locking = 1;
713 /* BB add code here to normalize offset and length to 713 /* BB add code here to normalize offset and length to
714 account for negative length which we can not accept over the 714 account for negative length which we can not accept over the