commit | 629e014bb8349fcf7c1e4df19a842652ece1c945 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 27 09:42:25 2017 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 27 05:13:04 2017 -0400 |
tree | 10d1c47fe1c0a4455671e46ca57dcec0615ce7a0 | |
parent | 80f18379a7c350c011d30332658aa15fe49a8fa5 [diff] |
fs: completely ignore unknown open flags Currently we just stash anything we got into file->f_flags, and the report it in fcntl(F_GETFD). This patch just clears out all unknown flags so that we don't pass them to the fs or report them. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>