f2fs: clean up with a macro
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 4 Feb 2014 04:01:10 +0000 (13:01 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 17 Feb 2014 05:58:52 +0000 (14:58 +0900)
commit491c0854b41380f48e422c00ae7e25ae4d02cecc
treec38f223a14407ecda736da3b9683f7251b4d08bc
parent924a2ddbd0c2829ebca9ac899522cbb16a9b6d8c
f2fs: clean up with a macro

This patch adds GET_BLKOFF_FROM_SEG0 to clean up some codes.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/segment.h