From: Trond Myklebust Date: Wed, 7 Mar 2012 21:39:06 +0000 (-0500) Subject: NFSv4: Return the delegation if the server returns NFS4ERR_OPENMODE X-Git-Tag: v3.2.14~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12a2bb2225a1636d291af1714ac6da2b2947ced8;p=pandora-kernel.git NFSv4: Return the delegation if the server returns NFS4ERR_OPENMODE commit 3114ea7a24d3264c090556a2444fc6d2c06176d4 upstream. If a setattr() fails because of an NFS4ERR_OPENMODE error, it is probably due to us holding a read delegation. Ensure that the recovery routines return that delegation in this case. Reported-by: Miklos Szeredi Signed-off-by: Trond Myklebust Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed