diff options
| author | Ales Kozumplik <akozumpl@redhat.com> | 2010-04-22 15:44:38 +0200 |
|---|---|---|
| committer | Ales Kozumplik <akozumpl@redhat.com> | 2010-04-23 14:45:23 +0200 |
| commit | ef7747d676cc09dac90ae589e677b89f066ea3c8 (patch) | |
| tree | 71f0cb0e7deddc31937cf5a7eeba609e8a649380 /loader | |
| parent | e1b1155057d2d29ccc4f8bd7c5284bd5a34f5de8 (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')
| -rw-r--r-- | loader/method.c | 6 | ||||
| -rw-r--r-- | loader/method.h | 1 |
2 files changed, 0 insertions, 7 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. diff --git a/loader/method.h b/loader/method.h index 7d2a3f6f9..cabd1c2e3 100644 --- a/loader/method.h +++ b/loader/method.h @@ -45,7 +45,6 @@ int mountLoopback(char * fsystem, char * mntpoint, char * device); int readStampFileFromIso(char *file, char **descr, char **timestamp); void queryIsoMediaCheck(char * isoDir); -void umountStage2(void); int mountStage2(char *stage2path); int mountStage2Direct(char *stage2path); int copyFileAndLoopbackMount(int fd, char *dest, char *device, char *mntpoint, |
