summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorFred Isaman <fred.isaman@gmail.com>2016-09-21 17:43:41 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-05-31 21:03:11 +0200
commit56f487f8c8fc5d6e582b79a86fc132d050129e15 (patch)
treeff955ea569d3e9d69fd3a82541da9dc49f25a020 /fs/nfs/nfs4proc.c
parentpnfs: move allocations out of nfs4_proc_layoutget (diff)
downloadlinux-56f487f8c8fc5d6e582b79a86fc132d050129e15.tar.xz
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 '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;