-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ack. On Thu, 22 Apr 2010, Ales Kozumplik wrote:
It's not called from anywhere. We unmount all filesystems in the end anyway, using the machinery in loader/undomounts.c. --- loader/method.c | 6 ------ loader/method.h | 1 - 2 files changed, 0 insertions(+), 7 deletions(-) diff --git a/loader/method.c b/loader/method.c index 503f6c1..3ca669f 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 7d2a3f6..cabd1c2 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,
- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvQw44ACgkQ5hsjjIy1VkmHnQCg3cpZQ/N79JlgwoZQLzyWzJgU KuQAoJtFRJlDQP2zs3GYzk7LBB1kdoEm =wTt2 -----END PGP SIGNATURE----- _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list