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
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