]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: make rootfs lookup by parent-id more robust
authorKarel Zak <kzak@redhat.com>
Wed, 1 Feb 2017 15:12:55 +0000 (16:12 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 21 Feb 2017 12:20:38 +0000 (13:20 +0100)
commit4bb57955ec930e281d52a39619c5768e20f4b4a0
tree95fca83d10a40624d9a59791a084ff0c27c0d118
parent6d689e1e1b5ab1b5cce2095dafa1540f2de6e033
libmount: make rootfs lookup by parent-id more robust

The root FS id really does not have to be the smallest one.

[kzak@redhat.com: - backported to stable branch without reg.test]

Reported-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab.c