Re: [PATCH 1/4] ovl: honor flag MS_SILENT at mount

2016-03-07 Thread Miklos Szeredi
On Mon, Jun 29, 2015 at 7:18 PM, Konstantin Khlebnikov wrote: > This patch hides error about missing lowerdir if MS_SILENT is set. > > We use mount(NULL, "/", "overlay", MS_SILENT, NULL) for testing support of > overlayfs: syscall returns -ENODEV if it's not supported.

Re: [PATCH 1/4] ovl: honor flag MS_SILENT at mount

2016-03-07 Thread Miklos Szeredi
On Mon, Jun 29, 2015 at 7:18 PM, Konstantin Khlebnikov wrote: > This patch hides error about missing lowerdir if MS_SILENT is set. > > We use mount(NULL, "/", "overlay", MS_SILENT, NULL) for testing support of > overlayfs: syscall returns -ENODEV if it's not supported. Otherwise kernel >

[PATCH 1/4] ovl: honor flag MS_SILENT at mount

2015-06-29 Thread Konstantin Khlebnikov
This patch hides error about missing lowerdir if MS_SILENT is set. We use mount(NULL, "/", "overlay", MS_SILENT, NULL) for testing support of overlayfs: syscall returns -ENODEV if it's not supported. Otherwise kernel automatically loads module and returns -EINVAL because lowerdir is missing.

[PATCH 1/4] ovl: honor flag MS_SILENT at mount

2015-06-29 Thread Konstantin Khlebnikov
This patch hides error about missing lowerdir if MS_SILENT is set. We use mount(NULL, /, overlay, MS_SILENT, NULL) for testing support of overlayfs: syscall returns -ENODEV if it's not supported. Otherwise kernel automatically loads module and returns -EINVAL because lowerdir is missing.