From: Trond Myklebust Date: Thu, 10 Jul 2014 12:54:32 +0000 (-0400) Subject: NFSv4: Fix OPEN w/create access mode checking X-Git-Tag: omap-for-v3.17/fixes-against-rc2~82^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3792d63d2a377b7cbe91a204e9582c4cf831eb3;p=pandora-kernel.git NFSv4: Fix OPEN w/create access mode checking POSIX states that open("foo", O_CREAT|O_RDONLY, 000) should succeed if the file "foo" does not already exist. With the current NFS client, it will fail with an EACCES error because of the permissions checks in nfs4_opendata_access(). Fix is to turn that test off if the server says that we created the file. Reported-by: "Frank S. Filz" Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed