public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency
@ 2017-05-16 10:11 Ralph Sennhauser
  2017-05-29  7:52 ` Ralph Sennhauser
  0 siblings, 1 reply; 2+ messages in thread
From: Ralph Sennhauser @ 2017-05-16 10:11 UTC (permalink / raw)
  To: Amir Goldstein
  Cc: Ralph Sennhauser, Miklos Szeredi, linux-unionfs, linux-kernel

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 <ralph.sennhauser@gmail.com>
---
 fs/overlayfs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig
index 0daac51..c0c9683 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.10.2

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

* Re: [PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency
  2017-05-16 10:11 [PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency Ralph Sennhauser
@ 2017-05-29  7:52 ` Ralph Sennhauser
  0 siblings, 0 replies; 2+ messages in thread
From: Ralph Sennhauser @ 2017-05-29  7:52 UTC (permalink / raw)
  To: Amir Goldstein, Miklos Szeredi; +Cc: linux-unionfs, linux-kernel

On Tue, 16 May 2017 12:11:39 +0200
Ralph Sennhauser <ralph.sennhauser@gmail.com> wrote:

> 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

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

end of thread, other threads:[~2017-05-29  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 10:11 [PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency Ralph Sennhauser
2017-05-29  7:52 ` Ralph Sennhauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox