shared/mount-util: convert to libmount
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 30 Nov 2020 09:37:06 +0000 (10:37 +0100)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Tue, 22 Jun 2021 12:34:25 +0000 (14:34 +0200)
commitca634baa10e2249d4a706d59b67be764867e5f32
tree9da61cde9765f79cffb150408ae394e0fcb1fd5b
parent240c55f1526300daac640ef2c1f4941de4579493
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.

(cherry picked from commit 13dcfe4661b467131c943620d0f44711798bfd54)

Related: #1885143
src/basic/mount-util.c
src/core/mount.c
src/core/umount.c