summaryrefslogtreecommitdiff
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-06 00:56:44 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-06 15:32:43 (GMT)
commita1d0b5eebc4fd6e0edb02688b35f17f67f42aea5 (patch)
tree80d13543ee4f1928e0436919a19de40be2a3b12b /fs/nfs/callback_proc.c
parentfa68a1ba1de349f0d1fcc54171b95236efe24148 (diff)
downloadlinux-fsl-qoriq-a1d0b5eebc4fd6e0edb02688b35f17f67f42aea5.tar.xz
NFS: Properly handle the case where the delegation is revoked
If we know that the delegation stateid is bad or revoked, we need to remove that delegation as soon as possible, and then mark all the stateids that relied on that delegation for recovery. We cannot use the delegation as part of the recovery process. Also note that NFSv4.1 uses a different error code (NFS4ERR_DELEG_REVOKED) to indicate that the delegation was revoked. Finally, ensure that setlk() and setattr() can both recover safely from a revoked delegation. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/nfs/callback_proc.c')
0 files changed, 0 insertions, 0 deletions