Message ID | 20180511005026.GA57926@lkp-sb04 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 8e41186..62f1662 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -1053,7 +1053,7 @@ ssize_t cifs_file_copychunk_range(unsigned int xid, * Directory operations under CIFS/SMB2/SMB3 are synchronous, so fsync() * is a dummy operation. */ -int cifs_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) +static int cifs_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) { cifs_dbg(FYI, "Sync directory - name: %pD datasync: 0x%x\n", file, datasync);
Fixes: c3d5c2a93abf ("smb3: directory sync should not return an error") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- cifsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html