]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/841: create a block device that must exist
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Feb 2026 08:57:01 +0000 (09:57 +0100)
committerZorro Lang <zlang@kernel.org>
Tue, 3 Feb 2026 08:29:50 +0000 (16:29 +0800)
commit163dbbfaacf0b6d1c62e9363546356e198644f45
tree972c2f677856fa3b8907104b32404fc247bde6af
parent1ec21c2911f39b4aa3bb21d5560f1b6da72b0b5e
xfs/841: create a block device that must exist

This test currently creates a block device node for /dev/ram0,
which isn't guaranteed to exist, and can thus cause the test to
fail with:

mkfs.xfs: cannot open $TEST_DIR/proto/blockdev: No such device or address

Instead, create a node for the backing device for $TEST_DIR, which must
exist.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Luca Di Maio <luca.dimaio1@gmail.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/841