diff options
author | Karel Zak | 2007-05-10 11:21:35 +0200 |
---|---|---|
committer | Karel Zak | 2007-05-17 12:10:17 +0200 |
commit | 950f648f8a773359bbec7f30820c9b3159e66e1c (patch) | |
tree | 1b24bda661b187d1a173c219bd5fe0c33d8a7f51 /mount/swapon.c | |
parent | mount: fsprobe: remove mount_guess_fstype.{c,h} (diff) | |
download | kernel-qcow2-util-linux-950f648f8a773359bbec7f30820c9b3159e66e1c.tar.gz kernel-qcow2-util-linux-950f648f8a773359bbec7f30820c9b3159e66e1c.tar.xz kernel-qcow2-util-linux-950f648f8a773359bbec7f30820c9b3159e66e1c.zip |
mount: fsprobe: rename the rest of API routines to fsprobe_*
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index 64fe3503a..8c3c1bdfe 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -179,7 +179,7 @@ do_swapon(const char *orig_special, int prio) { if (verbose) printf(_("%s on %s\n"), progname, orig_special); - special = mount_get_devname(orig_special); + special = fsprobe_get_devname(orig_special); if (!special) { fprintf(stderr, _("%s: cannot find the device for %s\n"), progname, orig_special); @@ -254,13 +254,13 @@ cannot_find(const char *special) { static int swapon_by_label(const char *label, int prio) { - const char *special = mount_get_devname_by_label(label); + const char *special = fsprobe_get_devname_by_label(label); return special ? do_swapon(special, prio) : cannot_find(label); } static int swapon_by_uuid(const char *uuid, int prio) { - const char *special = mount_get_devname_by_uuid(uuid); + const char *special = fsprobe_get_devname_by_uuid(uuid); return special ? do_swapon(special, prio) : cannot_find(uuid); } @@ -271,7 +271,7 @@ do_swapoff(const char *orig_special, int quiet) { if (verbose) printf(_("%s on %s\n"), progname, orig_special); - special = mount_get_devname(orig_special); + special = fsprobe_get_devname(orig_special); if (!special) return cannot_find(orig_special); @@ -292,13 +292,13 @@ do_swapoff(const char *orig_special, int quiet) { static int swapoff_by_label(const char *label, int quiet) { - const char *special = mount_get_devname_by_label(label); + const char *special = fsprobe_get_devname_by_label(label); return special ? do_swapoff(special, quiet) : cannot_find(label); } static int swapoff_by_uuid(const char *uuid, int quiet) { - const char *special = mount_get_devname_by_uuid(uuid); + const char *special = fsprobe_get_devname_by_uuid(uuid); return special ? do_swapoff(special, quiet) : cannot_find(uuid); } @@ -327,7 +327,7 @@ swapon_all(void) { if (!streq(fstab->mnt_type, MNTTYPE_SWAP)) continue; - special = mount_get_devname(orig_special); + special = fsprobe_get_devname(orig_special); if (!special) continue; |