mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
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>
This commit is contained in:
parent
cf5c759f92
commit
ebf7c522fd
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue