]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: add mount test for read only rt devices
authorHans Holmberg <Hans.Holmberg@wdc.com>
Mon, 9 Jun 2025 11:03:53 +0000 (11:03 +0000)
committerZorro Lang <zlang@kernel.org>
Wed, 18 Jun 2025 14:16:07 +0000 (22:16 +0800)
commite225772353e212c3b321a31c6ddb364684378e8e
tree2fe8426c7a28495131329e28bcb2b25eebeb6ef8
parentb3da4865e80d920158906b7a138081f8921545c6
xfs: add mount test for read only rt devices

Make sure that we can mount rt devices read-only if them themselves
are marked as read-only.

Also make sure that rw re-mounts are not allowed if the device is
marked as read-only.

Based on generic/050.

Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/837 [new file with mode: 0755]
tests/xfs/837.out [new file with mode: 0644]