NFSv4: Handle NFS4ERR_DELAY and NFS4ERR_GRACE in nfs4_open_delegation_recall
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Apr 2013 19:34:05 +0000 (15:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 21:03:53 +0000 (17:03 -0400)
commit8b6cc4d6f841d31f72fe7478453759166d366274
treed1402a785614147d8abd70ea4a40cc82938dd779
parentdbb21c25a35a71baf413f5176f028ee11b88cfbc
NFSv4: Handle NFS4ERR_DELAY and NFS4ERR_GRACE in nfs4_open_delegation_recall

A server shouldn't normally return NFS4ERR_GRACE if the client holds a
delegation, since no conflicting lock reclaims can be granted, however
the spec does not require the server to grant the open in this
instance

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
fs/nfs/nfs4proc.c