Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2e2eec6 authored by Thomas Meyer's avatar Thomas Meyer Committed by Jaegeuk Kim
Browse files

f2fs: Fix bool initialization/comparison



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

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent ab0a7977
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -418,8 +418,8 @@ int f2fs_submit_page_write(struct f2fs_io_info *fio)

	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));