diff options
author | 2025-04-30 08:35:34 +0000 | |
---|---|---|
committer | 2025-04-30 20:53:52 +0200 | |
commit | bfecc4091e07a47696ac922783216d9e9ea46c97 (patch) | |
tree | 4dc7bc78986f934c625d1361c9162fc3986c2948 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: stop using set_blocksize (diff) | |
download | linux-rng-bfecc4091e07a47696ac922783216d9e9ea46c97.tar.xz linux-rng-bfecc4091e07a47696ac922783216d9e9ea46c97.zip |
xfs: allow ro mounts if rtdev or logdev are read-only
Allow read-only mounts on rtdevs and logdevs that are marked as
read-only and make sure those mounts can't be remounted read-write.
Use the sb_open_mode helper to make sure that we don't try to open
devices with write access enabled for read-only mounts.
Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions