diff options
author | Amir Goldstein <[email protected]> | 2023-10-26 23:45:40 +0300 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-10-28 16:16:19 +0200 |
commit | d9e5d9221d7f82a2736f091bbc5b54ab8d6ef701 (patch) | |
tree | 1c56890185ebd228e662a3bf92235c1e012840f7 /scripts/generate_rust_analyzer.py | |
parent | ceb33880431c8284b58de5602b15dfb7ac0a4aa5 (diff) |
fs: fix build error with CONFIG_EXPORTFS=m or not defined
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: dfaf653dc415 ("exportfs: make ->encode_fh() a mandatory method for NFS export")
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions