diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-15 15:03:33 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:21:46 -0500 |
commit | 586f1c39daf5c840c742b9be1ec236429f26dc13 (patch) | |
tree | 89ef5b3c8a2da81c51c16848525e74a1186b6810 /include/linux/nfs_xdr.h | |
parent | cf80516579ceb87b91205e68fb31d5affd5aea8d (diff) | |
download | linux-586f1c39daf5c840c742b9be1ec236429f26dc13.tar.gz linux-586f1c39daf5c840c742b9be1ec236429f26dc13.tar.bz2 linux-586f1c39daf5c840c742b9be1ec236429f26dc13.zip |
NFSv4: Add encode/decode of the layoutreturn op in DELEGRETURN
Add XDR encoding for the layoutreturn op, and storage for the layoutreturn
arguments to the DELEGRETURN compound.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 44ed64bb66ae..bfbd0cace91b 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -552,12 +552,15 @@ struct nfs4_delegreturnargs { const struct nfs_fh *fhandle; const nfs4_stateid *stateid; const u32 * bitmask; + struct nfs4_layoutreturn_args *lr_args; }; struct nfs4_delegreturnres { struct nfs4_sequence_res seq_res; struct nfs_fattr * fattr; struct nfs_server *server; + struct nfs4_layoutreturn_res *lr_res; + int lr_ret; }; /* |