All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ovl: select EXPORTFS
@ 2017-05-11 11:34 Arnd Bergmann
  2017-05-15  9:21 ` Miklos Szeredi
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2017-05-11 11:34 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: Arnd Bergmann, linux-unionfs, linux-kernel

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>
---
 fs/overlayfs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ovl: select EXPORTFS
  2017-05-11 11:34 [PATCH] ovl: select EXPORTFS Arnd Bergmann
@ 2017-05-15  9:21 ` Miklos Szeredi
  0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2017-05-15  9:21 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-unionfs, linux-kernel

On Thu, May 11, 2017 at 1:34 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> 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>

Thanks, applied.

Miklos

> ---
>  fs/overlayfs/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> 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
> --
> 2.9.0
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-15  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-11 11:34 [PATCH] ovl: select EXPORTFS Arnd Bergmann
2017-05-15  9:21 ` Miklos Szeredi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.