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>
This commit is contained in:

committed by
J. Bruce Fields

parent
af76fc6c15
commit
84e1b21d5e
@@ -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;
|
||||
|
Reference in New Issue
Block a user