]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: refactor mnt_cache_read_tags()
authorKarel Zak <kzak@redhat.com>
Mon, 24 Nov 2025 08:54:20 +0000 (09:54 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Dec 2025 10:23:43 +0000 (11:23 +0100)
commit800292e940b40d13ef9f5698a6d9a46599110a36
tree78a022c3ab7c0e0ae5a90d5591cedb288a9e1f29
parent08a0f0ae66e799d8f0f19fb8f5bbd73691af6880
libmount: refactor mnt_cache_read_tags()

Split the function into smaller functions to make it easier to read
and extend in the future.

Introduce a struct to hold all variants of tag names, including udev
names in the future.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/cache.c