diff options
author | Chris Lumens <clumens@redhat.com> | 2009-01-05 12:44:55 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-01-05 12:44:55 -0500 |
commit | d9e16f3e52f17fa845793e33e6ab9124d2d14a0d (patch) | |
tree | 364dd93e5c66c305b950cdd97dc28bf481e4a5ce /isys | |
parent | 9cf3eb99ef5dcc5b51c344a3ca6020189ed34488 (diff) | |
download | anaconda-d9e16f3e52f17fa845793e33e6ab9124d2d14a0d.tar.gz anaconda-d9e16f3e52f17fa845793e33e6ab9124d2d14a0d.tar.xz anaconda-d9e16f3e52f17fa845793e33e6ab9124d2d14a0d.zip |
Remove doMultiMount.
Diffstat (limited to 'isys')
-rw-r--r-- | isys/imount.c | 21 | ||||
-rw-r--r-- | isys/imount.h | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/isys/imount.c b/isys/imount.c index b472e76da..f44ed4b3f 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -158,27 +158,6 @@ int doPwMount(char *dev, char *where, char *fs, char *options, char **err) { return 0; } -int doMultiMount(char *dev, char *where, char **fstypes, char *options, char **err) { - int retval = 0, i; - - for (i = 0; fstypes[i]; i++) { - /* If we made a previous call to mount and it returned an error message, - * get rid of it now. We only want to preserve the error from the last - * fstype. - */ - if (err && *err && **err) { - free(*err); - *err = NULL; - } - - retval = doPwMount(dev, where, fstypes[i], options, err); - if (!retval) - return retval; - } - - return retval; -} - int mkdirChain(char * origChain) { char * chain; char * chptr; diff --git a/isys/imount.h b/isys/imount.h index 56f6deaf3..9f9c4251c 100644 --- a/isys/imount.h +++ b/isys/imount.h @@ -30,7 +30,6 @@ #define IMOUNT_REMOUNT 4 int doPwMount(char *dev, char *where, char *fs, char *options, char **err); -int doMultiMount(char *dev, char *where, char **fstypes, char *options, char **err); int mkdirChain(char * origChain); #endif |