f2fs: use macro for code readability
authorChao Yu <chao2.yu@samsung.com>
Fri, 22 Aug 2014 08:17:38 +0000 (16:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 22 Aug 2014 20:56:47 +0000 (13:56 -0700)
commitb5b822050ca3c4fc1f475100cc197cc00ba2d492
tree69dd3f0332ad5f422ab02ff88bf8638b23c93a87
parent9d1589ef2edeb4565161771bd0faf3fd5288844b
f2fs: use macro for code readability

This patch introduces DEF_NIDS_PER_INODE/GET_ORPHAN_BLOCKS/F2FS_CP_PACKS macro
instead of numbers in code for readability.

change log from v1:
 o fix typo pointed out by Jaegeuk Kim.

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