summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorFred Isaman <fred.isaman@gmail.com>2016-09-21 11:43:41 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-05-31 15:03:11 -0400
commit56f487f8c8fc5d6e582b79a86fc132d050129e15 (patch)
treeff955ea569d3e9d69fd3a82541da9dc49f25a020 /include/linux/nfs_xdr.h
parentdacb452db8733474c0317d499244c3c1ac769ef5 (diff)
downloadop-kernel-dev-56f487f8c8fc5d6e582b79a86fc132d050129e15.zip
op-kernel-dev-56f487f8c8fc5d6e582b79a86fc132d050129e15.tar.gz
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 d3aa5ea..bc235e5 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;
};
/*
OpenPOWER on IntegriCloud