]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: make sure optsmode is initialized
authorKarel Zak <kzak@redhat.com>
Thu, 31 Oct 2019 12:51:29 +0000 (13:51 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 31 Oct 2019 12:51:29 +0000 (13:51 +0100)
commit6a735c2c5bfd64b06fd210663c1ebfeac6eef061
tree1668ba603fd4ea8b534329088f571c8f61cdec7a
parentf2cb9359c1b5e51a53ca89dbe38492c276d8ad92
libmount: make sure optsmode is initialized

Since 34333e5244167a8f6385faa350938ed5cb6d5c0a we apply fstab options
manually by mnt_context_apply_fs() on --all. The function does not
work correctly when optsmode is zero.

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