shared/mount-util: convert to libmount
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 4 Apr 2019 11:36:19 +0000 (13:36 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 23 Apr 2019 21:29:29 +0000 (23:29 +0200)
commit13dcfe4661b467131c943620d0f44711798bfd54
tree848fe89e5ec5b230c81f7197ddac2d36c46161c8
parentf5f899ef044e4b159e723b273ff35fda935f6427
shared/mount-util: convert to libmount

It seems better to use just a single parsing algorithm for /proc/self/mountinfo.

Also, unify the naming of variables in all places that use mnt_table_next_fs().
It makes it easier to compare the different call sites.
src/core/mount.c
src/shared/mount-util.c
src/shutdown/umount.c