diff options
| author | Karel Zak <kzak@redhat.com> | 2023-07-20 12:34:14 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2023-07-20 12:34:14 +0200 |
| commit | 54e4a6b145fd6ef943d93e16de748283e687855d (patch) | |
| tree | b7fdac5c8cf7a08659d870c506ef271c466dceda /lib/loopdev.c | |
| parent | 91ea8ff5cf43568cccba41da573bd9a462f17a84 (diff) | |
| download | util-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
