Skip to content

Commit

Permalink
ovl: select EXPORTFS
Browse files Browse the repository at this point in the history
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: 3a1e819 ("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>
  • Loading branch information
Arnd Bergmann authored and Miklos Szeredi committed May 15, 2017
1 parent 2ea659a commit 72d4250
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/overlayfs/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 72d4250

Please sign in to comment.