summaryrefslogtreecommitdiff
path: root/fs/qnx4
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-06-05 12:44:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-08 15:05:13 +0300
commitd451188135016a78d71fa8848a0999eebf142ae5 (patch)
treecd906cf91d27985aa5d928496a7dac8b673f875b /fs/qnx4
parent6012d18d4bf626da4f64eeb2c59d14d5db90411b (diff)
downloadlinux-d451188135016a78d71fa8848a0999eebf142ae5.tar.xz
f2fs: introduce and spread verify_blkaddr
commit e1da7872f6eda977bd812346bf588c35e4495a1e upstream. 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> [bwh: Backported to 4.9: - I skipped an earlier renaming of is_valid_meta_blkaddr() to f2fs_is_valid_meta_blkaddr() - Adjust context] Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions