]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: don't pass option "defaults" to helper
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 21 May 2023 17:58:47 +0000 (19:58 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 21 May 2023 18:02:21 +0000 (20:02 +0200)
commit06e05eb0f78566b68c44328c37d7c28d8655e9df
tree08b6384c860792e76c245a311770de87814fd3f4
parent01a0a556018694bfaf6b01a5a40f8d0d10641a1f
libmount: don't pass option "defaults" to helper

"defaults" is only a pseudo-option that expands to other options.
It should not be passed to helpers.

Reported-by: Quentin Rameau <quinq@fifth.space>
Closes: https://lore.kernel.org/util-linux/20230521181814.0b0f2d38.quinq@fifth.space/
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libmount/src/optmap.c
tests/expected/mount/special
tests/ts/mount/special