f2fs: introduce raw_nat_from_node_info() to simplfy codes
authorChao Yu <chao2.yu@samsung.com>
Thu, 17 Apr 2014 02:51:05 +0000 (10:51 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:55 +0000 (10:21 +0900)
commit94dac22e72e891b16e8e8abbdb6df10f322d20e0
treeb0519ec2534e4689527c25cd89723cc00b5304eb
parent876dc59eb1f0131c092803d0d206d47dd0119dfe
f2fs: introduce raw_nat_from_node_info() to simplfy codes

This patch introduce raw_nat_from_node_info() to simplfy some codes, and also
use exist function node_info_from_raw_nat() to do the same job.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.c
fs/f2fs/node.h