diff options
author | Trond Myklebust <trondmy@gmail.com> | 2020-01-06 19:40:32 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-01-22 22:25:40 +0100 |
commit | b66ae6dd0c30c750cbc5c633dea08712203abc03 (patch) | |
tree | 5597bca9d4e75efbcd7fb07d31ba5ab7d9751672 /fs/nfsd/vfs.h | |
parent | nfsd: Update the boot verifier on stable writes too. (diff) | |
download | linux-b66ae6dd0c30c750cbc5c633dea08712203abc03.tar.xz linux-b66ae6dd0c30c750cbc5c633dea08712203abc03.zip |
nfsd: Pass the nfsd_file as arguments to nfsd4_clone_file_range()
Needed in order to fix exclusion w.r.t. writes.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/vfs.h')
-rw-r--r-- | fs/nfsd/vfs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h index 0174e957b27e..a91cd7982885 100644 --- a/fs/nfsd/vfs.h +++ b/fs/nfsd/vfs.h @@ -57,8 +57,9 @@ __be32 nfsd4_set_nfs4_label(struct svc_rqst *, struct svc_fh *, struct xdr_netobj *); __be32 nfsd4_vfs_fallocate(struct svc_rqst *, struct svc_fh *, struct file *, loff_t, loff_t, int); -__be32 nfsd4_clone_file_range(struct file *, u64, struct file *, - u64, u64, bool); +__be32 nfsd4_clone_file_range(struct nfsd_file *nf_src, u64 src_pos, + struct nfsd_file *nf_dst, u64 dst_pos, + u64 count, bool sync); #endif /* CONFIG_NFSD_V4 */ __be32 nfsd_create_locked(struct svc_rqst *, struct svc_fh *, char *name, int len, struct iattr *attrs, |