]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Check the return value of update_open_stateid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 29 Jul 2019 17:25:00 +0000 (18:25 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 5 Aug 2019 02:35:40 +0000 (22:35 -0400)
commit7699e7a3e864b6bb64db3fb7a29e64c1da7d0a57
treed54d830c19ce0710909e808e0ffa9498f9cf5bb2
parent7a439e301d48e49d9813e12091e148832732d820
NFSv4: Check the return value of update_open_stateid()

Ensure that we always check the return value of update_open_stateid()
so that we can retry if the update of local state failed. This fixes
infinite looping on state recovery.

Fixes: 8a430059ff087 ("NFSv4 reduce attribute requests for open reclaim")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v3.7+
fs/nfs/nfs4proc.c