Hi all, Here are some cleanups I made against the rmap code and the inode geometry code, which came up as part of review comments on the scrub inode fixes posted earlier. The first cleanup constifies the struct xfs_owner_inode pointers that get passed around to the rmap calls. This enables the second cleanup, which is to create some global const XFS_RMAP_OINFO_* objects for static fs metadata. This enables us to reduce stack usage here and there, and remove a surprising amount of oinfo setup clutter in the scrub code. The last three patches add some inode <-> block conversion macros and adds precomputed inode cluster size and alignment geometry information in struct xfs_mount instead of calculating it over and over. These cleanups are being submitted ahead of v2 of the scrub inode fixes and the repair patches to be sent later. Comments and questions are, as always, welcome. --D