xfs: remove the device parameter from __populate_check_xfs_dir

In commit c08ebd092 ("xfs: fix $XFS_DB_PROG usage"), the need for
callers to pass the device to populate into
__populate_check_xfs_dir() was removed. So we can now clean up all
the callers by removing the device parameter.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Xiao Yang
2016-10-19 13:33:07 +08:00
committed by Eryu Guan
parent da41142607
commit dc46bab289
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ echo "+ check fs"
_scratch_xfs_repair -n >> $seqres.full 2>&1 || _fail "xfs_repair should not fail"
echo "+ check dir"
__populate_check_xfs_dir "${SCRATCH_DEV}" "${inode}" btree
__populate_check_xfs_dir "${inode}" btree
echo "+ corrupt dir"
loff=0