commit | cf90d884b347c50a1e8c1effc4093e497dd68b4b | [log] [tgz] |
---|---|---|
author | Qu Wenruo <[email protected]> | Wed Aug 01 10:37:19 2018 +0800 |
committer | David Sterba <[email protected]> | Mon Aug 06 13:13:03 2018 +0200 |
tree | b9a7d161c2a7da88764dd3239966f90edacd56a3 | |
parent | 7ef49515fa6727cb4b6f2f5b0ffbc5fc20a9f8c6 [diff] |
btrfs: Introduce mount time chunk <-> dev extent mapping check This patch will introduce chunk <-> dev extent mapping check, to protect us against invalid dev extents or chunks. Since chunk mapping is the fundamental infrastructure of btrfs, extra check at mount time could prevent a lot of unexpected behavior (BUG_ON). Reported-by: Xu Wen <[email protected]> Link: https://bugzilla.kernel.org/show_bug.cgi?id=200403 Link: https://bugzilla.kernel.org/show_bug.cgi?id=200407 Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: Su Yue <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>