mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: fix more xfs_db open-coding instances
Convert some more cases of 'xfs_db $SCRATCH_DEV' to _scratch_xfs_db that were left out of the initial cleanup patch. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
ed6e4664ee
commit
da41142607
+2
-2
@@ -130,14 +130,14 @@ _scratch_unmount >>$seqres.full 2>&1 \
|
||||
|
||||
echo "*** dump attributes (1)"
|
||||
|
||||
xfs_db -r -c "inode $inum_1" -c "print a.sfattr" $SCRATCH_DEV | \
|
||||
_scratch_xfs_db -r -c "inode $inum_1" -c "print a.sfattr" | \
|
||||
sed -e '/secure = /d' | sed -e '/parent = /d'
|
||||
|
||||
echo "*** dump attributes (2)"
|
||||
|
||||
# There is a fair bit of filtering here to convert v5 filesystem output
|
||||
# into the v4 format that holds the meaningful information for the test.
|
||||
xfs_db -r -c "inode $inum_2" -c "a a.bmx[0].startblock" -c print $SCRATCH_DEV \
|
||||
_scratch_xfs_db -r -c "inode $inum_2" -c "a a.bmx[0].startblock" -c print \
|
||||
| perl -ne '
|
||||
s/,secure//;
|
||||
s/,parent//;
|
||||
|
||||
Reference in New Issue
Block a user