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

From: Christoph Hellwig
Date: Thu Nov 26 2020 - 02:18:58 EST


On Thu, Nov 26, 2020 at 03:15:48PM +0800, Yicong Yang wrote:
> The public function vfs_stat() and vfs_fstatat() are
> unexported after moving out of line in
> commit 09f1bde4017e ("fs: move vfs_fstatat out of line"),
> which will prevent the using in kernel modules.
> So make them exported.

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.