aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2015-06-29 17:18:56 +0000
committerMiklos Szeredi <[email protected]>2016-03-21 16:31:45 +0000
commit07f2af7bfd247857b1bf16ae7f479b5b6f4ef305 (patch)
treeae5fa02390d6da56108791ea3d210ab7695aa7c3 /net/switchdev/switchdev.c
parentovl: verify upper dentry before unlink and rename (diff)
downloadkernel-07f2af7bfd247857b1bf16ae7f479b5b6f4ef305.tar.gz
kernel-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 <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions