summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-11-06 09:11:23 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-07 13:00:54 -0800
commitd6abecb82573fed5f7e4b595b5c0bd37707d2848 (patch)
treed74ff7feb86114da3fb62e8bedaa4d84f111ea4b /fs/xfs/libxfs
parent120254608f042e01e0ad1da9285006f122943a1e (diff)
downloadlinux-d6abecb82573fed5f7e4b595b5c0bd37707d2848.tar.bz2
xfs: range check ri_cnt when recovering log items
Range check the region counter when we're reassembling regions from log items during log recovery. In the old days ASSERT would halt the kernel, but this isn't true any more so we have to make an explicit error return. Coverity-id: 1132508 Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions