diff options
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/v9fs_vfs.h | 1 | ||||
-rw-r--r-- | fs/9p/vfs_dir.c | 1 | ||||
-rw-r--r-- | fs/9p/vfs_file.c | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h index d26db1932f7a..bab0eac873f4 100644 --- a/fs/9p/v9fs_vfs.h +++ b/fs/9p/v9fs_vfs.h | |||
@@ -65,5 +65,6 @@ int v9fs_uflags2omode(int uflags, int extended); | |||
65 | ssize_t v9fs_file_readn(struct file *, char *, char __user *, u32, u64); | 65 | ssize_t v9fs_file_readn(struct file *, char *, char __user *, u32, u64); |
66 | void v9fs_blank_wstat(struct p9_wstat *wstat); | 66 | void v9fs_blank_wstat(struct p9_wstat *wstat); |
67 | int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *); | 67 | int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *); |
68 | int v9fs_file_fsync_dotl(struct file *filp, int datasync); | ||
68 | 69 | ||
69 | #define P9_LOCK_TIMEOUT (30*HZ) | 70 | #define P9_LOCK_TIMEOUT (30*HZ) |
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c index 170f5bb8ebe0..b84ebe8cefed 100644 --- a/fs/9p/vfs_dir.c +++ b/fs/9p/vfs_dir.c | |||
@@ -315,4 +315,5 @@ const struct file_operations v9fs_dir_operations_dotl = { | |||
315 | .readdir = v9fs_dir_readdir_dotl, | 315 | .readdir = v9fs_dir_readdir_dotl, |
316 | .open = v9fs_file_open, | 316 | .open = v9fs_file_open, |
317 | .release = v9fs_dir_release, | 317 | .release = v9fs_dir_release, |
318 | .fsync = v9fs_file_fsync_dotl, | ||
318 | }; | 319 | }; |
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index 3a4352f23a98..240c30674396 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c | |||
@@ -491,7 +491,7 @@ static int v9fs_file_fsync(struct file *filp, int datasync) | |||
491 | return retval; | 491 | return retval; |
492 | } | 492 | } |
493 | 493 | ||
494 | static int v9fs_file_fsync_dotl(struct file *filp, int datasync) | 494 | int v9fs_file_fsync_dotl(struct file *filp, int datasync) |
495 | { | 495 | { |
496 | struct p9_fid *fid; | 496 | struct p9_fid *fid; |
497 | int retval; | 497 | int retval; |
@@ -501,7 +501,7 @@ static int v9fs_file_fsync_dotl(struct file *filp, int datasync) | |||
501 | 501 | ||
502 | fid = filp->private_data; | 502 | fid = filp->private_data; |
503 | 503 | ||
504 | retval = p9_client_fsync(fid); | 504 | retval = p9_client_fsync(fid, datasync); |
505 | return retval; | 505 | return retval; |
506 | } | 506 | } |
507 | 507 | ||