f2fs: introduce help macro on_build_free_nids()
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 21 Feb 2014 10:08:29 +0000 (18:08 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 24 Feb 2014 07:00:40 +0000 (16:00 +0900)
commitf978f5a0616d18f303d9c8f51c293a03bc09dbaf
treeb980450e4d7b915a8bc416fbd5d23813eed4d8cc
parentfffc2a00fc01b781c1e3b9541e3e0f270c50ce90
f2fs: introduce help macro on_build_free_nids()

Introduce help macro on_build_free_nids() which just uses build_lock
to judge whether the building free nid is going, so that we can remove
the on_build_free_nids field from f2fs_sb_info.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
[Jaegeuk Kim: remove an unnecessary white line removal]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/f2fs.h
fs/f2fs/node.c