f2fs: introduce is_valid_blkaddr to cleanup codes in ra_meta_pages
authorChao Yu <chao2.yu@samsung.com>
Mon, 8 Dec 2014 06:59:17 +0000 (14:59 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 8 Dec 2014 22:19:08 +0000 (14:19 -0800)
commit66b00c186764e29765e8962a03556c329dee48e5
tree7be01f708ec36bc988815e1dc3631672d0df0f22
parent13da549460d549aec78a943e589f4ffc3fdc716c
f2fs: introduce is_valid_blkaddr to cleanup codes in ra_meta_pages

This patch does cleanup work, it introduces is_valid_blkaddr() to include
verification code for blkaddr with upper and down boundary value which were in
ra_meta_pages previous.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c