Commit 5f9f1303 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

mount: add a missing return on a error path

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent d9e56848
......@@ -2548,6 +2548,7 @@ static int do_bind_mount(struct mount_info *mi)
if (mount(mnt_path, mnt_clean_path, NULL, MS_BIND, NULL)) {
pr_perror("Unable to bind-mount %s to %s",
mi->bind->mountpoint, mnt_clean_path);
return -1;
}
mnt_path = mnt_clean_path;
umount_mnt_path = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment