summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2015-06-29 20:18:56 +0300
committerMiklos Szeredi <miklos@szeredi.hu>2016-03-21 17:31:45 +0100
commit07f2af7bfd247857b1bf16ae7f479b5b6f4ef305 (patch)
treeae5fa02390d6da56108791ea3d210ab7695aa7c3 /include
parent11f3710417d026ea2f4fcf362d866342c5274185 (diff)
downloadlinux-07f2af7bfd247857b1bf16ae7f479b5b6f4ef305.tar.bz2
ovl: honor flag MS_SILENT at mount
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. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions