summaryrefslogtreecommitdiffstats
path: root/loader/method.c
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-04-22 15:44:38 +0200
committerAles Kozumplik <akozumpl@redhat.com>2010-04-23 14:45:23 +0200
commitef7747d676cc09dac90ae589e677b89f066ea3c8 (patch)
tree71f0cb0e7deddc31937cf5a7eeba609e8a649380 /loader/method.c
parente1b1155057d2d29ccc4f8bd7c5284bd5a34f5de8 (diff)
removal: umountStage2().
It's not called from anywhere. We unmount all filesystems in the end anyway, using the machinery in loader/undomounts.c.
Diffstat (limited to 'loader/method.c')
-rw-r--r--loader/method.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/loader/method.c b/loader/method.c
index 503f6c13b..3ca669fa9 100644
--- a/loader/method.c
+++ b/loader/method.c
@@ -418,12 +418,6 @@ void copyProductImg(char * path) {
}
}
-/* unmount a second stage, if mounted. Used for CDs and mediacheck mostly,
- so we can eject CDs. */
-void umountStage2(void) {
- umountLoopback("/mnt/runtime", "/dev/loop0");
-}
-
/** Bind the uncompressed second stage to /mnt/runtime.
*
* return 0 on success, 1 on failure to mount.