commit | c050fdfeb575a57ba955427142469b2d2e5f7ac2 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Feb 01 09:08:50 2019 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Feb 11 16:06:38 2019 -0800 |
tree | 7371af6690a3c281e17cacfd462c52579983cd0d | |
parent | 435dcf0787fde20d99ede873cf56dc27c22f2c30 [diff] |
xfs: check the ir_startino alignment directly In xchk_iallocbt_rec, check the alignment of ir_startino by converting the inode cluster block alignment into units of inodes instead of the other way around (converting ir_startino to blocks). This prevents us from tripping over off-by-one errors in ir_startino which are obscured by the inode -> block conversion. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>