f2fs: use is_valid_blkaddr to verify blkaddr for readability
authorChao Yu <chao2.yu@samsung.com>
Sat, 18 Apr 2015 10:05:36 +0000 (18:05 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 7 May 2015 18:38:32 +0000 (11:38 -0700)
commitf0c9cadae6706b6ce00ef724121fbf0f34187e22
treecfc39e3808123053a51500bd9f9c9f2cc7020bc1
parent272e083f7a968bc81dd01e4f16860a1e9617d454
f2fs: use is_valid_blkaddr to verify blkaddr for readability

Export is_valid_blkaddr() and use it to replace some codes for readability.

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