]> err.no Git - util-linux/commit
mount: cleanup canonicalize() usage
authorKarel Zak <kzak@redhat.com>
Mon, 22 Oct 2007 13:49:26 +0000 (15:49 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 25 Oct 2007 19:50:59 +0000 (21:50 +0200)
commit89fde75b38cf8c99c1cc5c6b6c206de521e551f4
tree51fcd85dad2bc9421e619ec696f8795cdae235f5
parent102cb99e47eaed5ab86250c86268c5645f25f7cc
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>
mount/fsprobe.c
mount/fstab.c
mount/mount.c
mount/realpath.c
mount/realpath.h
mount/sundries.c
mount/sundries.h
mount/umount.c