> + /* > + * Now that we've locked the rtbitmap and rtsummary, we can't race with > + * growfsrt trying to expand the summary or change the size of the rt > + * volume. Hence it is safe to compute and check the geometry values. > + */ > + rts->rextents = xfs_rtb_to_rtx(mp, mp->m_sb.sb_rblocks); > + rts->rbmblocks = xfs_rtbitmap_blockcount(mp, rts->rextents); > + rts->rsumlevels = rts->rextents ? xfs_highbit32(rts->rextents) + 1 : 0; > + rsumblocks = xfs_rtsummary_blockcount(mp, rts->rsumlevels, > + rts->rbmblocks); > + rts->rsumsize = XFS_FSB_TO_B(mp, rsumblocks); Same nitpick as for the last patch. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>