]> 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>
Wed, 1 Feb 2017 15:20:12 +0000 (16:20 +0100)
commit1a3397906dc35bf017f5382001eaf60e717d0a8f
tree9c62be9a7f96ad3f9d9bb3762dac6403897be281
parent2f4eb047e5e9c7da980c3edb9ff7419b697ba4b3
libmount: make rootfs lookup by parent-id more robust

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

Reported-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab.c
tests/expected/findmnt/outputs-messy-mountinfo [new file with mode: 0644]
tests/ts/findmnt/files/mountinfo-messy [new file with mode: 0644]
tests/ts/findmnt/outputs