From: Trond Myklebust Date: Mon, 23 Sep 2013 22:01:28 +0000 (-0400) Subject: NFSv4: Honour the 'opened' parameter in the atomic_open() filesystem method X-Git-Tag: v3.12-rc4~34^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc2afc2b53fc73f154e6344cd898585628e6d27;p=pandora-kernel.git NFSv4: Honour the 'opened' parameter in the atomic_open() filesystem method Determine if we've created a new file by examining the directory change attribute and/or the O_EXCL flag. This fixes a regression when doing a non-exclusive create of a new file. If the FILE_CREATED flag is not set, the atomic_open() command will perform full file access permissions checks instead of just checking for MAY_OPEN. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed