]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/fstab-util: teach fstab_filter_options() a mode where all values are returned
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Mar 2021 09:37:36 +0000 (10:37 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Mar 2021 10:25:15 +0000 (11:25 +0100)
commitff0c31bc2722eed528eae6644a104e85ed97f2f1
treec01a605e52a302aa15779003c90f4dfaa2a9c2ca
parent0264b404b9f193b70a19db0f600cf6bab3a05368
shared/fstab-util: teach fstab_filter_options() a mode where all values are returned

Apart from tests, the new argument isn't used anywhere, so there should be no
functional change. Note that the two arms of the big conditional are switched, so the
diff is artificially inflated. The actual code change is rather small. I dropped the
path which extracts ret_value manually, because it wasn't supporting unescaping of the
escape character properly.
src/core/mount.c
src/cryptsetup/cryptsetup-generator.c
src/fstab-generator/fstab-generator.c
src/shared/fstab-util.c
src/shared/fstab-util.h
src/shared/generator.c
src/test/test-fstab-util.c