From: Jeff Layton Date: Fri, 2 Aug 2013 15:39:32 +0000 (-0400) Subject: nfs: verify open flags before allowing an atomic open X-Git-Tag: v3.12-rc1~87^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9597c13b2f3c54240b1b902a677672faa70ab7c5;p=pandora-kernel.git nfs: verify open flags before allowing an atomic open Currently, you can open a NFSv4 file with O_APPEND|O_DIRECT, but cannot fcntl(F_SETFL,...) with those flags. This flag combination is explicitly forbidden on NFSv3 opens, and it seems like it should also be on NFSv4. Reported-by: Chao Ye Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed