diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-09-20 07:23:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-11 18:36:36 +0200 |
commit | 647d64dca599b25fa8982de75ff83a4b599ab897 (patch) | |
tree | 9d362e28015f828340c62b44b2fe9f26af0b8f74 /net/lapb/lapb_timer.c | |
parent | 4eae10e37d5876cc9764af6542719c54b6ddc73c (diff) |
pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors
[ Upstream commit 9c47b18cf722184f32148784189fca945a7d0561 ]
IF the server rejected our layout return with a state error such as
NFS4ERR_BAD_STATEID, or even a stale inode error, then we do want
to clear out all the remaining layout segments and mark that stateid
as invalid.
Fixes: 1c5bd76d17cca ("pNFS: Enable layoutreturn operation for...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions