diff options
author | 2020-01-06 13:40:32 -0500 | |
---|---|---|
committer | 2020-01-22 16:25:40 -0500 | |
commit | b66ae6dd0c30c750cbc5c633dea08712203abc03 (patch) | |
tree | 5597bca9d4e75efbcd7fb07d31ba5ab7d9751672 /fs/nfsd/nfs4proc.c | |
parent | nfsd: Update the boot verifier on stable writes too. (diff) | |
download | linux-b66ae6dd0c30c750cbc5c633dea08712203abc03.tar.gz linux-b66ae6dd0c30c750cbc5c633dea08712203abc03.tar.bz2 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/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index a2baf538473c..634f32d847e0 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -1085,8 +1085,8 @@ nfsd4_clone(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, if (status) goto out; - status = nfsd4_clone_file_range(src->nf_file, clone->cl_src_pos, - dst->nf_file, clone->cl_dst_pos, clone->cl_count, + status = nfsd4_clone_file_range(src, clone->cl_src_pos, + dst, clone->cl_dst_pos, clone->cl_count, EX_ISSYNC(cstate->current_fh.fh_export)); nfsd_file_put(dst); |