summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4proc.c
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 /fs/nfs/nfs4proc.c
parentdacb452db8733474c0317d499244c3c1ac769ef5 (diff)
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 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 16b14aa99b79..b3f200208295 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1080,6 +1080,7 @@ struct nfs4_opendata {
struct nfs4_state_owner *owner;
struct nfs4_state *state;
struct iattr attrs;
+ struct nfs4_layoutget *lgp;
unsigned long timestamp;
bool rpc_done;
bool file_created;