NFSv4: Fix OPEN_DOWNGRADE error handling
authorTrond Myklebust <trondmy@gmail.com>
Fri, 20 Sep 2019 11:23:46 +0000 (07:23 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 20 Sep 2019 19:52:44 +0000 (15:52 -0400)
commite217e825dca8d2d80c371b43da7257adc499404a
tree5fd5ea35aacf138c044fde46bb02e47a4c2ac617
parent30cb3ee299cbf343fe07419e9b0f8dc305979eb6
NFSv4: Fix OPEN_DOWNGRADE error handling

If OPEN_DOWNGRADE returns a state error, then we want to initiate
state recovery in addition to marking the stateid as closed.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c