diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-15 14:56:07 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:21:46 -0500 |
commit | cf80516579ceb87b91205e68fb31d5affd5aea8d (patch) | |
tree | ed88119568a2fd6aea6d05dc1250a2651268c1b6 /include/linux/nfs_xdr.h | |
parent | d8434d4c54789bd8ac30b4a69037115b3594d2b3 (diff) | |
download | linux-stable-cf80516579ceb87b91205e68fb31d5affd5aea8d.tar.gz linux-stable-cf80516579ceb87b91205e68fb31d5affd5aea8d.tar.bz2 linux-stable-cf80516579ceb87b91205e68fb31d5affd5aea8d.zip |
NFSv4: Add encode/decode of the layoutreturn op in CLOSE
Add XDR encoding for the layoutreturn op, and storage for the layoutreturn
arguments to the CLOSE 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 beb1e10f446e..44ed64bb66ae 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -469,6 +469,7 @@ struct nfs_closeargs { fmode_t fmode; u32 share_access; const u32 * bitmask; + struct nfs4_layoutreturn_args *lr_args; }; struct nfs_closeres { @@ -477,6 +478,8 @@ struct nfs_closeres { struct nfs_fattr * fattr; struct nfs_seqid * seqid; const struct nfs_server *server; + struct nfs4_layoutreturn_res *lr_res; + int lr_ret; }; /* * * Arguments to the lock,lockt, and locku call. |