f2fs: introduce help macro ADDRS_PER_PAGE()
authorChao Yu <chao2.yu@samsung.com>
Sat, 26 Apr 2014 11:59:52 +0000 (19:59 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:56 +0000 (10:21 +0900)
commit6403eb1f646a49cc92f25c08f8716f8870a4a865
tree31bb16630a67a086d0ff271cea88b9c9bc3e301b
parent2aea39eca6b68d6ae7eb545332df0695f56a3d3f
f2fs: introduce help macro ADDRS_PER_PAGE()

Introduce help macro ADDRS_PER_PAGE() to get the number of address pointers in
direct node or inode.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c
fs/f2fs/file.c
fs/f2fs/recovery.c
include/linux/f2fs_fs.h