> - return rtbno << mp->m_blkbb_log; > + xfs_rgnumber_t rgno = xfs_rtb_to_rgno(mp, rtbno); > + uint64_t start_bno = (xfs_rtblock_t)rgno * mp->m_rgblocks; Overly long line here. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> - return rtbno << mp->m_blkbb_log; > + xfs_rgnumber_t rgno = xfs_rtb_to_rgno(mp, rtbno); > + uint64_t start_bno = (xfs_rtblock_t)rgno * mp->m_rgblocks; Overly long line here. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>