diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-14 22:14:02 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-19 23:23:23 +0300 |
commit | f7db0b283868411dc6bc8a223fd032b211d2d91f (patch) | |
tree | cf7a2f7e1aee50843669d5c8548c1879b0725430 /net/sunrpc/auth_null.c | |
parent | 66b53f325876703b7ab815c482cd104609f8772c (diff) | |
download | linux-f7db0b283868411dc6bc8a223fd032b211d2d91f.tar.xz |
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 'net/sunrpc/auth_null.c')
0 files changed, 0 insertions, 0 deletions