NFSv4: Check the return value of update_open_stateid()
[ Upstream commit e3c8dc761ead061da2220ee8f8132f729ac3ddfe ] 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: e23008ec ("NFSv4 reduce attribute requests for open reclaim") Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Cc: stable@vger.kernel.org # v3.7+ Stable-dep-of: 6165a16a5ad9 ("NFSv4: Fix hangs when recovering open state after a server reboot") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment