commit | e1da7872f6eda977bd812346bf588c35e4495a1e | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Jun 05 17:44:11 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jul 27 18:03:59 2018 +0900 |
tree | 1aef775092817c292fb379aa7ece851473589c07 | |
parent | 24b81dfcb73f2dc21c61502512d1422f15a579dc [diff] |
f2fs: introduce and spread verify_blkaddr This patch introduces verify_blkaddr to check meta/data block address with valid range to detect bug earlier. In addition, once we encounter an invalid blkaddr, notice user to run fsck to fix, and let the kernel panic. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>