summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-02-01 09:08:50 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-02-11 16:06:38 -0800
commitc050fdfeb575a57ba955427142469b2d2e5f7ac2 (patch)
tree7371af6690a3c281e17cacfd462c52579983cd0d /net/lapb/lapb_in.c
parent435dcf0787fde20d99ede873cf56dc27c22f2c30 (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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions