]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: don't canonicalize the source of a pseudofs
authorDave Reisner <d@falconindy.com>
Mon, 26 Dec 2011 23:47:24 +0000 (18:47 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Jan 2012 13:28:30 +0000 (14:28 +0100)
commit46c59b51196d4e3f4fe3e4418f6f33d2f0d485d8
treec38e9d2ffff67ba98ecbcbb34639ea3bf2c46614
parentee83edede1f80666806002248e89168ee41a6cc0
mount: don't canonicalize the source of a pseudofs

In line with previous patches, the source of a pseudofs is strictly
semantic; do not attempt to resolve it to a filesystem path.

As a side effect of this, nspec needs to be initialized to NULL since
it may not be assigned null by spec_to_devname when the FS is deemed
a pseudofs.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
mount/mount.c