]> 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)
commit15d66d01ba99015264f8a6a6b3dd7fbad8283a7d
treed54d830c19ce0710909e808e0ffa9498f9cf5bb2
parentb12f5b22b94b0d9f31468e2fb7b88129c57f5e2c
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: f120cb37b38d6 ("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