Skip to contentSkip to conversation

ovl: add missing CONFIG_EXPORTFS dependency

PATCH In review Ralph Sennhauser 1 participant 2 messages May 16, 2017 – May 29, 2017 Overlay filesystem

lore
Share & tools
lore
#0 lore raw

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")
---
 fs/overlayfs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/overlayfs/Kconfig +1 -0
index 0daac51..c0c9683 100644
@@ -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
#1 lore raw
Quoted 3 lines · On Tue, 16 May 2017 12:11:39 +0200 Ralph Sennhauser…

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.

This issue is still present in 4.12-rc3

Ralph