diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-02 17:35:54 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-03-16 15:42:43 -0400 |
commit | 4ff79bc7098fab71e5957d48d31d2036c234e506 (patch) | |
tree | 3f7683f944bd5491fc23a563e2700c23b988c3e7 /fs/nfs/internal.h | |
parent | ecf7828683997dbc8e95e7beca3ccdcab5e1bfac (diff) | |
download | linux-stable-4ff79bc7098fab71e5957d48d31d2036c234e506.tar.gz linux-stable-4ff79bc7098fab71e5957d48d31d2036c234e506.tar.bz2 linux-stable-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.h | 2 |
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 *, |