ovl: add missing CONFIG_EXPORTFS dependency
PATCH 1/1 ovl: add missing CONFIG_EXPORTFS dependency
The source files namei.c and copy_up.c in overlayfs new use exportfs_decode_fh which depends on CONFIG_EXPORTFS being set. Select it in Kconfig.
Fixes a9d019573e88 ("ovl: lookup non-dir copy-up-origin by file handle")
Fixes 3a1e819b4e80 ("ovl: store file handle of lower inode on copy up")
Signed-off-by Ralph Sennhauser <[email protected]>
--- 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.10.2
Quoted 3 lines · On Tue, 16 May 2017 12:11:39 +0200 Ralph Sennhauser…
The source files
namei.candcopy_up.cin overlayfs new useexportfs_decode_fhwhich depends onCONFIG_EXPORTFSbeing set. Select it inKconfig.
This issue is still present in 4.12-rc3
Ralph