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

From: Yicong Yang
Date: Thu Nov 26 2020 - 05:45:06 EST


On 2020/11/26 17:50, Christoph Hellwig wrote:
> 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.
> .

sure. we'll check to see whether it's necessary or there is other way.

many thanks!