]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix "already mounted" detection on systems with mtab
authorKarel Zak <kzak@redhat.com>
Fri, 9 Mar 2012 12:11:24 +0000 (13:11 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Mar 2012 12:11:24 +0000 (13:11 +0100)
commit7293e97a42586ba552497bf7c8ab21e15b114541
treeac979c32ed0db7c8e9c3d0fcc077d0432b45216f
parent5791238768d6a2ca46bb140cde70b1fcf200afff
libmount: fix "already mounted" detection on systems with mtab

For systems with regular mtab the fs->root should be ignored in
"already mounted" heuristic.

Reported-by: Matt Burgess <matthew@linuxfromscratch.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/list.h
libmount/src/tab.c