ovl: Select EXPORTFS for exportfs_{en,de}code_fh
PATCH 1/1 ovl: Select EXPORTFS for exportfs_{en,de}code_fh
fs/overlayfs/namei.c now calls exportfs_decode_fh() and fs/overlayfs/copy_up.c calls exportfs_encode_fh() but misses an EXPORTFS select which results in the following build error:
fs/built-in.o: In function `ovl_get_origin':/home/florian/dev/linux/fs/overlayfs/namei.c:141: undefined reference to `exportfs_decode_fh'fs/built-in.o: In function `ovl_encode_fh':/home/florian/dev/linux/fs/overlayfs/copy_up.c:253: undefined reference to `exportfs_encode_fh'
Makefile:997: recipe for target 'vmlinux' failed
--- fs/overlayfs/Kconfig | 1 + 1 file changed, 1 insertion(+)
fs/overlayfs/Kconfig +1 -0
@@ -1,5 +1,6 @@ config OVERLAY_FS tristate "Overlay filesystem support" + select EXPORTFS help An overlay filesystem combines two filesystems - an 'upper' filesystem and a 'lower' filesystem. When a name exists in both filesystems, the
Signature · 1 line
2.11.0
Amir Goldstein
maintainerQuoted 4 lines · Florian Fainelli
fs/overlayfs/namei.cnow callsexportfs_decode_fh()andfs/overlayfs/copy_up.ccallsexportfs_encode_fh()but misses an EXPORTFS select which results in the following build error:
Arnd has already sent that patch 2 days ago, but Thanks!