diff options
author | Thomas Meyer <[email protected]> | 2017-10-07 16:02:21 +0200 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2017-10-26 10:44:11 +0200 |
commit | ebf7c522fdc2ec2fa0fc2351ef613841f79586e5 (patch) | |
tree | acde1c0762289a085316dcb0d36d6caa6d32ca11 | |
parent | cf5c759f927dc92452fa214691be0c8a3e7c115d (diff) |
f2fs: Fix bool initialization/comparison
Bool initializations should use true and false. Bool tests don't need
comparisons.
Signed-off-by: Thomas Meyer <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
-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)); |