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>
This commit is contained in:
Fred Isaman
2016-09-21 11:43:41 -04:00
committed by Trond Myklebust
parent dacb452db8
commit 56f487f8c8
3 changed files with 49 additions and 4 deletions

View File

@@ -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;
};
/*