From: J. Bruce Fields Date: Wed, 19 Jun 2013 19:47:37 +0000 (-0400) Subject: nfsd4: delegation-based open reclaims should bypass permissions X-Git-Tag: v3.11-rc1~32^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89f6c3362cb5a6bce96dbe6aa15b4749c2262b21;p=pandora-kernel.git nfsd4: delegation-based open reclaims should bypass permissions We saw a v4.0 client's create fail as follows: - open create succeeds and gets a read delegation - client attempts to set mode on new file, gets DELAY while server recalls delegation. - client attempts a CLAIM_DELEGATE_CUR open using the delegation, gets error because of new file mode. This probably can't happen on a recent kernel since we're no longer giving out delegations on create opens. Nevertheless, it's a bug--reclaim opens should bypass permission checks. Reported-by: Steve Dickson Reported-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed