Bool initializations should use true and false. Bool tests don't need
comparisons.

Signed-off-by: Thomas Meyer <tho...@m3y3r.de>
---

diff -u -p a/fs/f2fs/data.c b/fs/f2fs/data.c
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -419,7 +419,7 @@ next:
        bio_page = fio->encrypted_page ? fio->encrypted_page : fio->page;
 
        /* set submitted = 1 as a return value */
-       fio->submitted = 1;
+       fio->submitted = true;
 
        inc_page_count(sbi, WB_DATA_TYPE(bio_page));
 

Reply via email to