]> 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:46:57 +0000 (01:46 +0100)
commit313c2fbe1fd5864ddaf78d1d253b0581aaaa2188
tree4aa1e1d934cf20683b83154f7ff5c2fed5f003d7
parent83617e73e79d21cb2edb9e1fb1852fda18db8975
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