summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2017-10-07 16:02:21 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-10-26 10:44:11 +0200
commitebf7c522fdc2ec2fa0fc2351ef613841f79586e5 (patch)
treeacde1c0762289a085316dcb0d36d6caa6d32ca11 /fs/f2fs
parentcf5c759f927dc92452fa214691be0c8a3e7c115d (diff)
downloadlinux-ebf7c522fdc2ec2fa0fc2351ef613841f79586e5.tar.bz2
f2fs: Fix bool initialization/comparison
Bool initializations should use true and false. Bool tests don't need comparisons. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 030fb5cf2b51..60a07fb26475 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -418,8 +418,8 @@ next:
bio_page = fio->encrypted_page ? fio->encrypted_page : fio->page;
- /* set submitted = 1 as a return value */
- fio->submitted = 1;
+ /* set submitted = true as a return value */
+ fio->submitted = true;
inc_page_count(sbi, WB_DATA_TYPE(bio_page));