commit | 26ff065b8401efd17cabf094f82f611f98acf022 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 27 09:42:25 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 12 15:01:02 2017 +0200 |
tree | 825aac224b62924d3dffc521ab224b150ec58adb | |
parent | 6efb1b0b6c82c036bfc9f475ff7f06ad1a2fa241 [diff] |
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>