[PATCH] ext4/021: add -F flag for xfs_io

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



xfs_io needs -F flag to write data in non-XFS filesystem on xfsprogs 3.1.1.
The -F flag has been removed from usage() & man pages since xfsprogs 3.1.8,
but is still accepted.  Please see the following commit d1b8818
("xfs_io: deprecate the "-F" foreign flag")

Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxxxxx>
---
 tests/ext4/021 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ext4/021 b/tests/ext4/021
index d758818..f82d7fb 100755
--- a/tests/ext4/021
+++ b/tests/ext4/021
@@ -80,7 +80,7 @@ fi
 # disk, the s_squence offset to the beginning of journal superblock is 24
 # we do this to let jbd2 start to run with a initial big transaction id,
 # which will reduce the time taken to trigger this bug.
-xfs_io  -c "pwrite -S 0x81 $((offset+24)) 1" \
+xfs_io -F -c "pwrite -S 0x81 $((offset+24)) 1" \
 	-c "pwrite -S 0xd1 $((offset+25)) 1" \
 	-c "pwrite -S 0xa4 $((offset+26)) 1" \
 	-c "pwrite -S 0x80 $((offset+27)) 1" $SCRATCH_DEV >> $seqres.full 2>&1
-- 
1.8.3.1



--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux