diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2014-05-06 09:12:27 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-28 18:12:55 -0400 |
commit | c0752cdfbbb691cfe98812f7aed8ce1e766823c4 (patch) | |
tree | 895790bb4aaca50b0e632c6c13f61cf562a6d34b /include/linux/nfs_xdr.h | |
parent | 9c7e1b3d50b56b8d8f6237ed232350b7c6476cd5 (diff) | |
download | linux-c0752cdfbbb691cfe98812f7aed8ce1e766823c4.tar.gz linux-c0752cdfbbb691cfe98812f7aed8ce1e766823c4.tar.bz2 linux-c0752cdfbbb691cfe98812f7aed8ce1e766823c4.zip |
NFS: Create a common read and write header struct
The only difference is the write verifier field, but we can keep that
for a little bit longer.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
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 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 64f6f1491c0d..2d34e0dc1870 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1294,12 +1294,7 @@ struct nfs_pgio_data { struct nfs_client *ds_clp; /* pNFS data server */ }; -struct nfs_read_header { - struct nfs_pgio_header header; - struct nfs_pgio_data rpc_data; -}; - -struct nfs_write_header { +struct nfs_rw_header { struct nfs_pgio_header header; struct nfs_pgio_data rpc_data; struct nfs_writeverf verf; |