summaryrefslogtreecommitdiff
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorHaicheng Li <haicheng.li@linux.intel.com>2013-10-23 12:39:32 +0800
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-25 16:54:37 +0900
commitaabe51364f44681cbd83fb1c27ef7d3dbe567c45 (patch)
tree2e99a154357419819ec22deb039cfbb3fe44fec5 /fs/f2fs/node.c
parentdcdfff65276fdc6dfe5eb1d0aff802dfa7a95e15 (diff)
f2fs: use bool for booleans
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r--fs/f2fs/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 4fa3fd5def34..cc119b65a0d3 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1439,9 +1439,9 @@ retry:
/* Let's scan nat pages and its caches to get free nids */
mutex_lock(&nm_i->build_lock);
- sbi->on_build_free_nids = 1;
+ sbi->on_build_free_nids = true;
build_free_nids(sbi);
- sbi->on_build_free_nids = 0;
+ sbi->on_build_free_nids = false;
mutex_unlock(&nm_i->build_lock);
goto retry;
}