f2fs: optimize several routines in node.h
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 23 May 2013 13:58:40 +0000 (22:58 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 28 May 2013 06:03:05 +0000 (15:03 +0900)
commita06a2416038d317a6430e453f5bc5fd81834554d
treeca102d6f073bfccb126c43fb45fe6991f46587fe
parent4777f86b7c0a587dde275a5c1ff3022b2e601313
f2fs: optimize several routines in node.h

There are various functions with common code which could be separated
out to make common routines. So, made new routines and in order to
retain the same call path and no major changes, written some macros
to access those routines.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.h