summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-11 13:34:29 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2017-05-15 10:53:07 +0200
commit72d42504bd7faa6de1c1644b5e46652933e040a6 (patch)
tree12e82f88781e13da2f41a025bf8f65e150211296 /fs/overlayfs
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-72d42504bd7faa6de1c1644b5e46652933e040a6.tar.bz2
ovl: select EXPORTFS
We get a link error when EXPORTFS is not enabled: ERROR: "exportfs_encode_fh" [fs/overlayfs/overlay.ko] undefined! ERROR: "exportfs_decode_fh" [fs/overlayfs/overlay.ko] undefined! This adds a Kconfig 'select' statement for overlayfs, the same way that it is done for the other users of exportfs. Fixes: 3a1e819b4e80 ("ovl: store file handle of lower inode on copy up") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs')
-rw-r--r--fs/overlayfs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig
index 0daac5112f7a..c0c9683934b7 100644
--- a/fs/overlayfs/Kconfig
+++ b/fs/overlayfs/Kconfig
@@ -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