aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-08-19 15:33:12 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-08-19 16:27:31 -0400
commit9a0fe86745b8e95f7ea39933a956f5771332c430 (patch)
tree8b66282c97d87b4c6697a0df9709b530d4d596ea /fs/nfs/pnfs.c
parentpNFS/flexfiles: Set reasonable default retrans values for the data channel (diff)
downloadlinux-dev-9a0fe86745b8e95f7ea39933a956f5771332c430.tar.xz
linux-dev-9a0fe86745b8e95f7ea39933a956f5771332c430.zip
pNFS: Handle NFS4ERR_OLD_STATEID correctly in LAYOUTSTAT calls
We normally want to update the stateid and then retry, Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r--fs/nfs/pnfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index 70806cae0d36..bf98f1b2595f 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -2510,7 +2510,6 @@ pnfs_report_layoutstat(struct inode *inode, gfp_t gfp_flags)
data->args.fh = NFS_FH(inode);
data->args.inode = inode;
- nfs4_stateid_copy(&data->args.stateid, &hdr->plh_stateid);
status = ld->prepare_layoutstats(&data->args);
if (status)
goto out_free;