summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig2016-03-02 17:35:54 +0100
committerTrond Myklebust2016-03-16 20:42:43 +0100
commit4ff79bc7098fab71e5957d48d31d2036c234e506 (patch)
tree3f7683f944bd5491fc23a563e2700c23b988c3e7 /fs/nfs/internal.h
parentMerge branch 'multipath' (diff)
downloadkernel-qcow2-linux-4ff79bc7098fab71e5957d48d31d2036c234e506.tar.gz
kernel-qcow2-linux-4ff79bc7098fab71e5957d48d31d2036c234e506.tar.xz
kernel-qcow2-linux-4ff79bc7098fab71e5957d48d31d2036c234e506.zip
nfs: remove nfs4_file_fsync
The only difference to nfs_file_fsync is the call to pnfs_sync_inode. But pnfs_sync_inode is just an inline that calls a pNFS layout driver method if CONFIG_PNFS is designed, and thus can be called just fine from the core NFS module. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 9a547aa3ec8e..c41c5f5baf03 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -358,7 +358,7 @@ int nfs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
int nfs_rename(struct inode *, struct dentry *, struct inode *, struct dentry *);
/* file.c */
-int nfs_file_fsync_commit(struct file *, loff_t, loff_t, int);
+int nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync);
loff_t nfs_file_llseek(struct file *, loff_t, int);
ssize_t nfs_file_read(struct kiocb *, struct iov_iter *);
ssize_t nfs_file_splice_read(struct file *, loff_t *, struct pipe_inode_info *,