diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-10-07 16:02:21 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-10-26 10:44:11 +0200 |
commit | ebf7c522fdc2ec2fa0fc2351ef613841f79586e5 (patch) | |
tree | acde1c0762289a085316dcb0d36d6caa6d32ca11 /fs/f2fs/data.c | |
parent | f2fs: give up CP_TRIMMED_FLAG if it drops discards (diff) | |
download | linux-ebf7c522fdc2ec2fa0fc2351ef613841f79586e5.tar.xz linux-ebf7c522fdc2ec2fa0fc2351ef613841f79586e5.zip |
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 '')
-rw-r--r-- | fs/f2fs/data.c | 4 |
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)); |