diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-23 11:38:08 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-02 23:37:45 -0500 |
commit | 4d796d751cefdb942a54c570bd3087d8be3bb893 (patch) | |
tree | 52d97c2b7a3a6d8d3b67cdec678fd11c56ef5db9 /include/linux | |
parent | f8c3cf9d7d7f04718e0d51c28f8430afa6058b3b (diff) | |
download | linux-4d796d751cefdb942a54c570bd3087d8be3bb893.tar.gz linux-4d796d751cefdb942a54c570bd3087d8be3bb893.tar.bz2 linux-4d796d751cefdb942a54c570bd3087d8be3bb893.zip |
pNFS: Allow layout drivers to manage private data in struct nfs4_layoutreturn
Cleanup to allow layout drivers to attach private data to layoutreturn,
and manage the data.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_xdr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 331a3200eb01..b64177d669fd 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -320,6 +320,7 @@ struct nfs4_layoutreturn_args { struct pnfs_layout_range range; nfs4_stateid stateid; __u32 layout_type; + struct nfs4_xdr_opaque_data *ld_private; }; struct nfs4_layoutreturn_res { @@ -335,6 +336,7 @@ struct nfs4_layoutreturn { struct nfs_client *clp; struct inode *inode; int rpc_status; + struct nfs4_xdr_opaque_data ld_private; }; #define PNFS_LAYOUTSTATS_MAXSIZE 256 |