projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab0a797
)
f2fs: Fix bool initialization/comparison
author
Thomas Meyer
<thomas@m3y3r.de>
Sat, 7 Oct 2017 14:02:21 +0000
(16:02 +0200)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 19 Dec 2017 01:21:57 +0000
(17:21 -0800)
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>
fs/f2fs/data.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index 030fb5cf2b51b72d5e38075dbf43f5965e4cfb88..60a07fb26475aeba5a197da6d32964e26370b723 100644
(file)
--- 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));