summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/copy_up.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2015-06-29 19:18:56 +0200
committerMiklos Szeredi <miklos@szeredi.hu>2016-03-21 17:31:45 +0100
commit07f2af7bfd247857b1bf16ae7f479b5b6f4ef305 (patch)
treeae5fa02390d6da56108791ea3d210ab7695aa7c3 /fs/overlayfs/copy_up.c
parentovl: verify upper dentry before unlink and rename (diff)
downloadlinux-07f2af7bfd247857b1bf16ae7f479b5b6f4ef305.tar.xz
linux-07f2af7bfd247857b1bf16ae7f479b5b6f4ef305.zip
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 'fs/overlayfs/copy_up.c')
0 files changed, 0 insertions, 0 deletions