chiark / gitweb /
switch-root: umount the old root correctly
authorDan Dedrick <dan.dedrick@gmail.com>
Tue, 29 Jul 2014 19:31:23 +0000 (15:31 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 3 Aug 2014 05:32:08 +0000 (01:32 -0400)
commit23f25b1496c31ef4c20b8f3ee8328f7b1d5f3a54
treebed793bf42f838da20fd479334a0d6ee8b0e531e
parent4212a3375e03fd12cb407b34cab59dbe4ed9f4eb
switch-root: umount the old root correctly

The unmount occurs after the pivot_root, so the path used to unmount
should take into account the new root directory. This will allow the
umount to actually succeed.
src/core/switch-root.c