Re: [PATCH] fs: fix build error with CONFIG_EXPORTFS=m or not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 26, 2023, at 22:45, Amir Goldstein wrote:
> Many of the filesystems that call the generic exportfs helpers do not
> select the EXPORTFS config.
>
> Move generic_encode_ino32_fh() to libfs.c, same as generic_fh_to_*()
> to avoid having to fix all those config dependencies.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: 
> https://lore.kernel.org/oe-kbuild-all/202310262151.renqMvme-lkp@xxxxxxxxx/
> Fixes: dfaf653dc415 ("exportfs: make ->encode_fh() a mandatory method 
> for NFS export")
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx>
> ---
>
> Christian,
>
> Soaking f_fsid in linux-next started to bring goodies.
> Please feel free to apply the fix as is or squash it.

I just confirmed that this fixes all the build regressions I
see with your series, as expected, thanks for the fix

Tested-by: Arnd Bergmann <arnd@xxxxxxxx>



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux