summaryrefslogtreecommitdiff
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2014-05-06 17:12:27 +0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-05-29 02:12:55 +0400
commitc0752cdfbbb691cfe98812f7aed8ce1e766823c4 (patch)
tree895790bb4aaca50b0e632c6c13f61cf562a6d34b /include/linux/nfs_xdr.h
parent9c7e1b3d50b56b8d8f6237ed232350b7c6476cd5 (diff)
downloadlinux-c0752cdfbbb691cfe98812f7aed8ce1e766823c4.tar.xz
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.h7
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;