diff options
author | Karel Zak | 2007-10-22 15:49:26 +0200 |
---|---|---|
committer | Karel Zak | 2007-10-25 21:50:59 +0200 |
commit | 89fde75b38cf8c99c1cc5c6b6c206de521e551f4 (patch) | |
tree | 51fcd85dad2bc9421e619ec696f8795cdae235f5 /mount/umount.c | |
parent | docs: add info about .bugfix releases and branches (diff) | |
download | kernel-qcow2-util-linux-89fde75b38cf8c99c1cc5c6b6c206de521e551f4.tar.gz kernel-qcow2-util-linux-89fde75b38cf8c99c1cc5c6b6c206de521e551f4.tar.xz kernel-qcow2-util-linux-89fde75b38cf8c99c1cc5c6b6c206de521e551f4.zip |
mount: cleanup canonicalize() usage
This patch renames canonicalize() to canonicalize_mountpoint() and
moves this function to realpath.c where is all cannonicalize code.
The canonicalize_mountpoint() function checks for special "none",
"proc", "swap" pseudo mointpoint.
The patch also adds a new generic canonicalize() function.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/umount.c')
-rw-r--r-- | mount/umount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mount/umount.c b/mount/umount.c index 6af43546e..4327dd70d 100644 --- a/mount/umount.c +++ b/mount/umount.c @@ -19,6 +19,7 @@ #include "fstab.h" #include "env.h" #include "nls.h" +#include "realpath.h" #if defined(MNT_FORCE) /* Interesting ... it seems libc knows about MNT_FORCE and presumably |