aboutsummaryrefslogtreecommitdiffstats
path: root/lib/loopdev.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2023-07-20 12:34:14 +0200
committerKarel Zak <kzak@redhat.com>2023-07-20 12:34:14 +0200
commit54e4a6b145fd6ef943d93e16de748283e687855d (patch)
treeb7fdac5c8cf7a08659d870c506ef271c466dceda /lib/loopdev.c
parent91ea8ff5cf43568cccba41da573bd9a462f17a84 (diff)
downloadutil-linux-54e4a6b145fd6ef943d93e16de748283e687855d.tar.gz
libmount: use some MS_* flags as superblock flags
The old mount(2) API usually utilizes MS_* flags to set up the VFS node. However, there are some exceptions like "sync" (MS_SYNCHRONOUS), where the flag is used (by kernel) for the superblock instead. The new API addresses this issue, ensuring that these options are used for fsconfig(). This commit introduces MNT_SUPERBLOCK to identify these options in the libmount options Linux map, and it enforces the new mount code to utilize these options for fsconfig(FSCONFIG_SET_FLAG). Reported-by: Abbink Esger <esger.abbink.ext@siemens.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/loopdev.c')
0 files changed, 0 insertions, 0 deletions