summaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-02-24 14:44:19 +0000
committerSteve French <sfrench@us.ibm.com>2009-03-12 01:36:20 +0000
commit4717bed6806dab0270e5bfbc45e9f999e63ededd (patch)
treed0a59d62c3fdd24329e970036f052a5138d6579a /fs/cifs/file.c
parent7fc8f4e95bf9564045985bb206af8e28a5e4e28f (diff)
downloadop-kernel-dev-4717bed6806dab0270e5bfbc45e9f999e63ededd.zip
op-kernel-dev-4717bed6806dab0270e5bfbc45e9f999e63ededd.tar.gz
[CIFS] fix build error
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 6603cb4..e4ecb1c 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1584,7 +1584,7 @@ int cifs_fsync(struct file *file, struct dentry *dentry, int datasync)
CIFS_I(inode)->write_behind_rc = 0;
tcon = CIFS_SB(inode->i_sb)->tcon;
if (!rc && tcon && smbfile &&
- !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_SSYNC))
+ !(CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC))
rc = CIFSSMBFlush(xid, tcon, smbfile->netfid);
}
OpenPOWER on IntegriCloud