diff options
author | Haicheng Li <haicheng.li@linux.intel.com> | 2013-10-23 00:39:32 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-25 03:54:37 -0400 |
commit | aabe51364f44681cbd83fb1c27ef7d3dbe567c45 (patch) | |
tree | 2e99a154357419819ec22deb039cfbb3fe44fec5 /fs/f2fs/node.c | |
parent | dcdfff65276fdc6dfe5eb1d0aff802dfa7a95e15 (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.c | 4 |
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: | |||
1439 | 1439 | ||
1440 | /* Let's scan nat pages and its caches to get free nids */ | 1440 | /* Let's scan nat pages and its caches to get free nids */ |
1441 | mutex_lock(&nm_i->build_lock); | 1441 | mutex_lock(&nm_i->build_lock); |
1442 | sbi->on_build_free_nids = 1; | 1442 | sbi->on_build_free_nids = true; |
1443 | build_free_nids(sbi); | 1443 | build_free_nids(sbi); |
1444 | sbi->on_build_free_nids = 0; | 1444 | sbi->on_build_free_nids = false; |
1445 | mutex_unlock(&nm_i->build_lock); | 1445 | mutex_unlock(&nm_i->build_lock); |
1446 | goto retry; | 1446 | goto retry; |
1447 | } | 1447 | } |