diff options
author | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2019-09-13 21:00:57 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-12-09 19:42:14 +0300 |
commit | 84e1b21d5ec4cc1b005586f32c67c046ea4ffb8a (patch) | |
tree | 8c679175a51f26135324322017648d9d6f02cb93 /fs/nfsd/xdr4.h | |
parent | af76fc6c158d5e70764c9cc277aefe7a134436fd (diff) | |
download | linux-84e1b21d5ec4cc1b005586f32c67c046ea4ffb8a.tar.xz |
NFSD add ca_source_server<> to COPY
Decode the ca_source_server list that's sent but only use the
first one. Presence of non-zero list indicates an "inter" copy.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index f4737d66ee98..e815a9cc3b05 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -518,11 +518,13 @@ struct nfsd42_write_res { struct nfsd4_copy { /* request */ - stateid_t cp_src_stateid; - stateid_t cp_dst_stateid; - u64 cp_src_pos; - u64 cp_dst_pos; - u64 cp_count; + stateid_t cp_src_stateid; + stateid_t cp_dst_stateid; + u64 cp_src_pos; + u64 cp_dst_pos; + u64 cp_count; + struct nl4_server cp_src; + bool cp_intra; /* both */ bool cp_synchronous; |