commit | 8775f6d81b244d0a0b36b9b3b8eed6c2b240fb87 | [log] [download] |
---|---|---|
author | Dan Dedrick <dan.dedrick@gmail.com> | Tue Jul 29 15:31:23 2014 -0400 |
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | Fri Oct 03 15:11:52 2014 -0400 |
tree | 3418468cadfe6bc2e6ef27a78b7a6c47a774c7dd | |
parent | 32798abbc80e75eaab173450f6245e75a824aeb1 [diff] |
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. (cherry picked from commit 23f25b1496c31ef4c20b8f3ee8328f7b1d5f3a54)