mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: refactor calls to xfs_admin
Create a helper to run xfs_admin on the scratch device, then refactor all tests to use it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
640c75ef96
commit
2eff3870a7
+1
-1
@@ -70,7 +70,7 @@ $XFS_IO_PROG -r -c "lsproj" $dir/32bit
|
||||
_scratch_unmount
|
||||
|
||||
# Now, enable projid32bit support by xfs_admin
|
||||
xfs_admin -p $SCRATCH_DEV >> $seqres.full 2>&1 || _fail "xfs_admin failed"
|
||||
_scratch_xfs_admin -p >> $seqres.full 2>&1 || _fail "xfs_admin failed"
|
||||
|
||||
# Now mount the fs, 32bit project quotas shall be supported, now
|
||||
_qmount_option "pquota"
|
||||
|
||||
Reference in New Issue
Block a user