]> err.no Git - util-linux/commit
mount: don't call canonicalize(SPEC) for cifs, smbfs and nfs
authorKarel Zak <kzak@redhat.com>
Wed, 21 Nov 2007 00:46:57 +0000 (01:46 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 21 Nov 2007 00:53:51 +0000 (01:53 +0100)
commitcd93e3f76272de50592a0eb7c343c65a803ef6d5
tree5daa602d189d02b86fdae41ec88e8adf891e5d36
parent71c5700c6feb364f38572d054580a04c01035be9
mount: don't call canonicalize(SPEC) for cifs, smbfs and nfs

When calling "mount -t smbfs //foo/bar /mnt/foo", mount.smbfs will be
called with /foo/bar if /foo/bar exists locally, and will display its
usage.

The patch also removes duplicate canonicalize() from mounted()
function.

Reported-By: Pascal Terjan <pterjan@linuxfr.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c