Re: [PATCH] fs: export vfs_stat() and vfs_fstatat()

From: Christoph Hellwig
Date: Thu Nov 26 2020 - 04:50:08 EST


On Thu, Nov 26, 2020 at 05:48:25PM +0800, Yicong Yang wrote:
> Sorry for not describing the issues I met correctly in the commit message.
> Actually we're using inline function vfs_stat() for getting the
> attributes, which calls vfs_fstatat():

Again, there generally isn't much need to look at the stat data
for an in-kernel caller. But without you submitting the code I can't
really help you anyway.