summaryrefslogtreecommitdiffstats
path: root/mount/fstab.h
diff options
context:
space:
mode:
authorKarel Zak2009-01-07 00:18:41 +0100
committerKarel Zak2009-01-07 00:18:41 +0100
commit448d12483cc24cd1ba50fde6b95d4c0f5080f038 (patch)
treed3ebc5b31439fdebb95514624fb466af7d73b505 /mount/fstab.h
parentmount: finalize support of quoted LABELs/UUIDs (diff)
downloadkernel-qcow2-util-linux-448d12483cc24cd1ba50fde6b95d4c0f5080f038.tar.gz
kernel-qcow2-util-linux-448d12483cc24cd1ba50fde6b95d4c0f5080f038.tar.xz
kernel-qcow2-util-linux-448d12483cc24cd1ba50fde6b95d4c0f5080f038.zip
umount: cleanup gefs_by_specdir()
fix: - don't call canonicalize_spec() for LABELs/UUIDs - simplify the code - rename to getfs_by_devdir(), because we use it only for device names and not for SPECes (see umount.c). Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/fstab.h')
-rw-r--r--mount/fstab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/fstab.h b/mount/fstab.h
index 14b24c45e..8fc8fd41e 100644
--- a/mount/fstab.h
+++ b/mount/fstab.h
@@ -22,7 +22,7 @@ struct mntentchn *fstab_head (void);
struct mntentchn *getfs_by_dir (const char *dir);
struct mntentchn *getfs_by_spec (const char *spec);
struct mntentchn *getfs_by_devname (const char *devname);
-struct mntentchn *getfs_by_specdir (const char *spec, const char *dir);
+struct mntentchn *getfs_by_devdir (const char *dev, const char *dir);
struct mntentchn *getfs_by_uuid (const char *uuid);
struct mntentchn *getfs_by_label (const char *label);