. ./common/preamble
_begin_fstest auto rmap fsmap
-_fixed_by_kernel_commit 68415b349f3f \
- "xfs: Fix the owner setting issue for rmap query in xfs fsmap"
-_fixed_by_kernel_commit ca6448aed4f1 \
- "xfs: Fix missing interval for missing_owner in xfs fsmap"
+if [ "$FSTYP" = "xfs" ]; then
+ _fixed_by_kernel_commit 68415b349f3f \
+ "xfs: Fix the owner setting issue for rmap query in xfs fsmap"
+ _fixed_by_kernel_commit ca6448aed4f1 \
+ "xfs: Fix missing interval for missing_owner in xfs fsmap"
+fi
. ./common/filter
_require_odirect 512 # see fio job1 config below
_require_aio
-_fixed_by_kernel_commit xxxxxxxxxxxx \
+[ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit xxxxxxxxxxxx \
"btrfs: avoid deadlock when reading a partial uptodate folio"
iterations=$((32 * LOAD_FACTOR))
_begin_fstest ioctl quick
-_fixed_by_kernel_commit 2a492ff66673 \
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 2a492ff66673 \
"xfs: Check for delayed allocations before setting extsize"
_require_scratch_extsize
. ./common/filter
-_fixed_by_kernel_commit e4826691cc7e \
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit e4826691cc7e \
"xfs: restore shutdown check in mapped write fault path"
_require_scratch_nocheck
_exclude_fs overlay
_require_extra_fs overlay
-_fixed_by_kernel_commit 6da1b4b1ab36 \
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 6da1b4b1ab36 \
"xfs: fix an ABBA deadlock in xfs_rename"
_scratch_mkfs >> $seqres.full
. ./common/preamble
_begin_fstest auto quick recoveryloop shutdown
-_fixed_by_kernel_commit 50d25484bebe \
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 50d25484bebe \
"xfs: sync lazy sb accounting on quiesce of read-only mounts"
_require_scratch
# Modify as appropriate.
-_fixed_by_kernel_commit 72a048c1056a \
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 72a048c1056a \
"xfs: only set IOMAP_F_SHARED when providing a srcmap to a write"
_require_cp_reflink
. ./common/dmflakey
. ./common/punch
-_fixed_by_kernel_commit e6e3dec6c3c288 \
+[ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit e6e3dec6c3c288 \
"btrfs: update generation of hole file extent item when merging holes"
_require_scratch
_require_dm_target flakey
_require_attrs
_require_renameat2 whiteout
-_fixed_by_kernel_commit 70b589a37e1a \
- xfs: add selinux labels to whiteout inodes
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 70b589a37e1a \
+ "xfs: add selinux labels to whiteout inodes"
get_selinux_label()
{
rm -r -f $tmp.* $junk_dir
}
-_fixed_by_kernel_commit 92fba084b79e \
+[ "$FSTYP" = "exfat" ] && _fixed_by_kernel_commit 92fba084b79e \
"exfat: fix i_blocks for files truncated over 4 GiB"
_require_test
. ./common/filter
. ./common/reflink
-_fixed_by_kernel_commit ac3c0d36a2a2f7 \
+[ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit ac3c0d36a2a2f7 \
"btrfs: make fiemap more efficient and accurate reporting extent sharedness"
_require_scratch_reflink
# Import common functions.
. ./common/scsi_debug
-_fixed_by_kernel_commit 7c71ee78031c "xfs: allow logical-sector sized O_DIRECT"
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 7c71ee78031c \
+ "xfs: allow logical-sector sized O_DIRECT"
+
_require_scsi_debug
# If TEST_DEV is block device, make sure current fs is a localfs which can be
# written on scsi_debug device
_require_scratch
-_fixed_by_kernel_commit f950fd052913 \
+[ "$FSTYP" = "udf" ] && _fixed_by_kernel_commit f950fd052913 \
"udf: Protect rename against modification of moved directory"
-_fixed_by_kernel_commit 0813299c586b \
+[[ "$FSTYP" =~ ext[0-9]+ ]] && _fixed_by_kernel_commit 0813299c586b \
"ext4: Fix possible corruption when moving a directory"
_scratch_mkfs >>$seqres.full 2>&1