]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: improve optlist
authorKarel Zak <kzak@redhat.com>
Tue, 28 Jun 2022 11:52:34 +0000 (13:52 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 11:53:12 +0000 (12:53 +0100)
commit5b783fe3fac2847db650ca1e894584ccb5ae729d
tree87d3e907b0b48717caeaf6773eb6de1a86884cc2
parentdec1455d66071f47fe43446e87bf97d65b042e34
libmount: improve optlist

* cache already generated mount strings

* add mnt_optlist_merge_opts() to de-duplicate mount options

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