]> git.ipfire.org Git - thirdparty/linux.git/commit - include/linux/fs.h
fs: implement vfs_stat and vfs_lstat in terms of vfs_fstatat
authorChristoph Hellwig <hch@lst.de>
Sat, 26 Sep 2020 07:03:58 +0000 (09:03 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Sep 2020 02:55:05 +0000 (22:55 -0400)
commit0b2c6693b4220595e9cff95d829d5d5bc5d544dc
tree3aa3707b9ae07f9910348afec5bdbf1e3dae8448
parentda9aa5d96bfe49e903ce2bc01cfb8a776c2619e9
fs: implement vfs_stat and vfs_lstat in terms of vfs_fstatat

Go through vfs_fstatat instead of duplicating the *stat to statx mapping
three times.

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