summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHans Holmberg <Hans.Holmberg@wdc.com>2025-04-30 08:35:34 +0000
committerCarlos Maiolino <cem@kernel.org>2025-04-30 20:53:52 +0200
commitbfecc4091e07a47696ac922783216d9e9ea46c97 (patch)
tree4dc7bc78986f934c625d1361c9162fc3986c2948 /scripts/gdb/linux/utils.py
parent5088aad3d32cc0b1c96cbe3e718569ffc0aca4ba (diff)
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions