diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-14 15:14:02 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-19 16:23:23 -0400 |
commit | f7db0b283868411dc6bc8a223fd032b211d2d91f (patch) | |
tree | cf7a2f7e1aee50843669d5c8548c1879b0725430 /fs/nfs/super.c | |
parent | 66b53f325876703b7ab815c482cd104609f8772c (diff) |
pNFS: Fix LAYOUTGET handling of NFS4ERR_BAD_STATEID and NFS4ERR_EXPIRED
We want to recover the open stateid if there is no layout stateid
and/or the stateid argument matches an open stateid.
Otherwise throw out the existing layout and recover from scratch, as
the layout stateid is bad.
Fixes: 183d9e7b112aa ("pnfs: rework LAYOUTGET retry handling")
Cc: stable@vger.kernel.org # 4.7
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions