mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fix up QA for xfsprogs 2.9.x
Merge of master-melb:xfs-cmds:29298a by kenmcd. Golden output is slightly wrong for xfs_repair 2.9.2+
This commit is contained in:
@@ -119,6 +119,7 @@ xfs_inode_t
|
||||
xfs_inode_log_item_t
|
||||
xfs_log_iovec_t
|
||||
xfs_log_callback_t
|
||||
xfs_metablock_t
|
||||
xfs_mount_t
|
||||
xfs_sb_t
|
||||
xfs_log_item_t
|
||||
@@ -151,9 +152,9 @@ cat /usr/include/xfs/xfs*.h | indent |\
|
||||
awk '
|
||||
/typedef struct xfs_sb/ { structon = 1; next }
|
||||
structon && $2 ~ /^sb_/ { sub(/[;,]/,"",$2)
|
||||
print "printf(\"offsetof(xfs_sb_t,", $2, ") = %d\\n\", offsetof(xfs_sb_t,", $2, "));"; next}
|
||||
print "printf(\"offsetof(xfs_sb_t,", $2, ") = %d\\n\", offsetof(xfs_sb_t,", $2, "));"; next}
|
||||
structon && /}/ { structon = 0; next}
|
||||
'>>$cprog
|
||||
'>>$cprog
|
||||
|
||||
echo 'return 0; }' >>$cprog
|
||||
|
||||
|
||||
Reference in New Issue
Block a user