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:
Christoph Hellwig
2016-06-08 20:17:31 +02:00
committed by Eryu Guan
parent a3d11fa0b8
commit 80ff43c05f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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