f2fs: simplify IS_DATASEG and IS_NODESEG macro
authorChangman Lee <cm224.lee@samsung.com>
Thu, 21 Nov 2013 11:04:21 +0000 (20:04 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:02 +0000 (10:18 +0900)
commit61ae45c8803262a96f3af200489344f339992291
treec82f69d25b82224541defde11e1f749c4db009b8
parent7107e0a9b131f46785b853388fb263306721a986
f2fs: simplify IS_DATASEG and IS_NODESEG macro

It is not efficient comparing each segment type to find node or data.

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
[Jaegeuk Kim: remove unnecessary white spaces]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.h