diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-19 15:33:12 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-19 16:27:31 -0400 |
commit | 9a0fe86745b8e95f7ea39933a956f5771332c430 (patch) | |
tree | 8b66282c97d87b4c6697a0df9709b530d4d596ea /fs/nfs/pnfs.c | |
parent | 15d03055cf39fe61714aeda8d0a722b3137531ed (diff) | |
download | op-kernel-dev-9a0fe86745b8e95f7ea39933a956f5771332c430.zip op-kernel-dev-9a0fe86745b8e95f7ea39933a956f5771332c430.tar.gz |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 70806ca..bf98f1b 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; |