commit | 9597c13b2f3c54240b1b902a677672faa70ab7c5 | [log] [tgz] |
---|---|---|
author | Jeff Layton <[email protected]> | Fri Aug 02 11:39:32 2013 -0400 |
committer | Trond Myklebust <[email protected]> | Wed Aug 07 12:16:22 2013 -0400 |
tree | fb1ba832c4654b68b85198ca8f1fed86045f55e3 | |
parent | 55b592933b7d0091d515ef1663334470a343ec98 [diff] |
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 <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>