mount: Don't ignore validation and shared resolving errors on dump

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2015-02-19 22:18:00 +03:00
parent 9fa75831c7
commit e10b3ef407

View file

@ -2334,6 +2334,8 @@ int collect_mnt_namespaces(bool for_dump)
goto err;
if (for_dump && need_to_validate) {
ret = -1;
if (collect_shared(mntinfo))
goto err;
if (validate_mounts(mntinfo, true))