From: Casey Bodley Date: Sat, 23 Jul 2011 18:58:10 +0000 (-0400) Subject: nfsd: don't break lease on CLAIM_DELEGATE_CUR X-Git-Tag: v3.1-rc1~239^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c12eaffdf09466f36a9ffe970dda8f4aeb6efc0;p=pandora-kernel.git nfsd: don't break lease on CLAIM_DELEGATE_CUR CLAIM_DELEGATE_CUR is used in response to a broken lease; allowing it to break the lease and return EAGAIN leaves the client unable to make progress in returning the delegation nfs4_get_vfs_file() now takes struct nfsd4_open for access to the claim type, and calls nfsd_open() with NFSD_MAY_NOT_BREAK_LEASE when claim type is CLAIM_DELEGATE_CUR Signed-off-by: Casey Bodley Cc: stable@kernel.org Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed