mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/186-7: fix unreferenced variables
There is not i variable in scope, and the comments suggest the
operation is to be done on ${file}.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
a3d11fa0b8
commit
80ff43c05f
+1
-1
@@ -87,7 +87,7 @@ _fragment_freesp()
|
||||
|
||||
# Try again anyway
|
||||
avail=`_get_available_space $SCRATCH_MNT`
|
||||
$XFS_IO_PROG -fc "pwrite -S 0x65 0 $avail" ${file}.${i}
|
||||
$XFS_IO_PROG -fc "pwrite -S 0x65 0 $avail" ${file}
|
||||
|
||||
# Punch out whatever we need
|
||||
seq 1 $((nr * 4)) | while read f; do
|
||||
|
||||
+1
-1
@@ -88,7 +88,7 @@ _fragment_freesp()
|
||||
|
||||
# Try again anyway
|
||||
avail=`_get_available_space $SCRATCH_MNT`
|
||||
$XFS_IO_PROG -fc "pwrite -S 0x65 0 $avail" ${file}.${i}
|
||||
$XFS_IO_PROG -fc "pwrite -S 0x65 0 $avail" ${file}
|
||||
|
||||
# Punch out whatever we need
|
||||
seq 1 $((nr * 4)) | while read f; do
|
||||
|
||||
Reference in New Issue
Block a user