diff options
author | Darrick J. Wong | 2019-11-06 09:11:23 -0800 |
---|---|---|
committer | Darrick J. Wong | 2019-11-07 13:00:54 -0800 |
commit | d6abecb82573fed5f7e4b595b5c0bd37707d2848 (patch) | |
tree | d74ff7feb86114da3fb62e8bedaa4d84f111ea4b /tools/arch/x86 | |
parent | 120254608f042e01e0ad1da9285006f122943a1e (diff) |
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 'tools/arch/x86')
0 files changed, 0 insertions, 0 deletions