[CIFS] fix build error

Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
Steve French
2009-02-24 14:44:19 +00:00
parent 7fc8f4e95b
commit 4717bed680
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}