]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: mnt_resolve_path: don't canonicalize fs->target for swap
authorEric Rannaud <e@nanocritical.com>
Fri, 27 Jun 2014 05:17:17 +0000 (22:17 -0700)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Jul 2014 07:32:12 +0000 (09:32 +0200)
commit45e8cdba91799c4149c9c7f20bfa7606bf295f7f
tree867d612e720035d51c77b5c9d995bc1236cac48a
parentab131f00a2a5b81fbdf362b0b452291298523031
libmount: mnt_resolve_path: don't canonicalize fs->target for swap

This is how mnt_table_find_target() does it. It makes sense because
@fs->target is "none" for swap and is never a sensible match for a
user-specified target.

Signed-off-by: Eric Rannaud <e@nanocritical.com>
libmount/src/fs.c