Commits
![Christoph Hellwig](https://secure.gravatar.com/avatar/5155a9f7b4ebf934b9ed078d70eba285.jpg?s=96&d=mm)
Christoph Hellwig committed 26ff065b840
fs: completely ignore unknown open flags commit 629e014bb8349fcf7c1e4df19a842652ece1c945 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>