f2fs: fix the logic of IS_DNODE()
authorZhihui Zhang <zzhsuny@gmail.com>
Sun, 7 Apr 2013 16:57:04 +0000 (12:57 -0400)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 9 Apr 2013 09:21:24 +0000 (18:21 +0900)
commit3315101f7070013d01bb5396c6bde07b3a8bcbd8
treedf475787e48de605f4e9811ea0d16a66868a1a57
parent399368372ed9f3c396eadb5c2bbc98be8c774a39
f2fs: fix the logic of IS_DNODE()

If (ofs % (NIDS_PER_BLOCK + 1) == 0), the node is an indirect node block.

Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.h