summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorFred Isaman2016-09-21 17:43:41 +0200
committerTrond Myklebust2018-05-31 21:03:11 +0200
commit56f487f8c8fc5d6e582b79a86fc132d050129e15 (patch)
treeff955ea569d3e9d69fd3a82541da9dc49f25a020 /include/linux/nfs_xdr.h
parentpnfs: move allocations out of nfs4_proc_layoutget (diff)
downloadkernel-qcow2-linux-56f487f8c8fc5d6e582b79a86fc132d050129e15.tar.gz
kernel-qcow2-linux-56f487f8c8fc5d6e582b79a86fc132d050129e15.tar.xz
kernel-qcow2-linux-56f487f8c8fc5d6e582b79a86fc132d050129e15.zip
pnfs: Add conditional encode/decode of LAYOUTGET within OPEN compound
Signed-off-by: Fred Isaman <fred.isaman@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index d3aa5eaf99a7..bc235e50415f 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -436,6 +436,7 @@ struct nfs_openargs {
enum createmode4 createmode;
const struct nfs4_label *label;
umode_t umask;
+ struct nfs4_layoutget_args *lg_args;
};
struct nfs_openres {
@@ -458,6 +459,7 @@ struct nfs_openres {
__u32 access_request;
__u32 access_supported;
__u32 access_result;
+ struct nfs4_layoutget_res *lg_res;
};
/*