diff options
| author | Thomas Meyer <thomas@m3y3r.de> | 2017-10-07 17:02:21 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-10-26 11:44:11 +0300 |
| commit | ebf7c522fdc2ec2fa0fc2351ef613841f79586e5 (patch) | |
| tree | acde1c0762289a085316dcb0d36d6caa6d32ca11 | |
| parent | cf5c759f927dc92452fa214691be0c8a3e7c115d (diff) | |
| download | linux-ebf7c522fdc2ec2fa0fc2351ef613841f79586e5.tar.xz | |
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>
| -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)); |
