]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd45856cdce0d5f9e3e964a37f51322fa50321fc0
tree6521f7e8a4d4b8b44fbcb045b849b1fa2bbbc38b
parent9f727d3b4c29c966f636f6538c647ff81040d8e9
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