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

From: Christoph Hellwig
Date: Thu Nov 26 2020 - 04:15:42 EST


On Thu, Nov 26, 2020 at 05:08:26PM +0800, Yicong Yang wrote:
> > And why would you want to use them in kernel module? Please explain
> > that in the patch that exports them, and please send that patch in the
> > same series as the patches adding the users.
>
> we're using it in the modules for testing our crypto driver on our CI system.
> is it mandatory to upstream it if we want to use this function?

Yes. And chances are that you do not actaully need these functions
either, but to suggest a better placement I need to actually see the
code.