f2fs: introduce macros to convert bytes and blocks in f2fs
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Feb 2015 20:02:44 +0000 (12:02 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:48 +0000 (17:04 -0800)
This patch adds two macros for transition between byte and block offsets.
Currently, f2fs only supports 4KB blocks, so use the default size for now.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/file.c
fs/f2fs/segment.c
include/linux/f2fs_fs.h

Simple merge
diff --cc fs/f2fs/file.c
Simple merge
Simple merge
Simple merge