From: Trond Myklebust Date: Wed, 17 Jun 2009 20:22:59 +0000 (-0700) Subject: NFSv4: Handle more errors when recovering open file and locking state X-Git-Tag: v2.6.31-rc1~58^2~2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=965b5d679146c9f69bc0325388bb9ed357863c4f;p=pandora-kernel.git NFSv4: Handle more errors when recovering open file and locking state It is possible for servers to return NFS4ERR_BAD_STATEID when the state management code is recovering locks or is reclaiming state when returning a delegation. Ensure that we handle that case. While we're at it, add in handlers for NFS4ERR_STALE, NFS4ERR_ADMIN_REVOKED, NFS4ERR_OPENMODE, NFS4ERR_DENIED and NFS4ERR_STALE_STATEID, since the protocol appears to allow for them too. Also handle ENOMEM... Finally, rather than add new NFSv4.0-specific errors and error handling into the generic delegation code, move that open file and locking state error handling into the NFSv4 layer. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed