fs: remove vfs_stat_set_lookup_flags
authorChristoph Hellwig <hch@lst.de>
Sat, 26 Sep 2020 07:04:00 +0000 (09:04 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Sep 2020 02:55:05 +0000 (22:55 -0400)
commitb3f0515004a5ee41d65218303804bd57fdda027e
tree6521f7e8a4d4b8b44fbcb045b849b1fa2bbbc38b
parent09f1bde4017e9c34749da2918b3926799c77bce8
fs: remove vfs_stat_set_lookup_flags

The function really obsfucates checking for valid flags and setting the
lookup flags.  The fact that it returns -EINVAL through and unsigned
return value, which is then used as boolean really doesn't help either.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/stat.c