diff options
| author | Thomas Meyer <thomas@m3y3r.de> | 2017-10-07 16:02:21 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-06 16:41:37 +0100 |
| commit | cc7995de59b97a8729c3aa33ab68ac6aadb9b552 (patch) | |
| tree | b34ae5626899ad0edce6a551a7b3ce2937668471 /fs/f2fs/data.c | |
| parent | 41f18f68070ebdcda115eba6031eb6497daec749 (diff) | |
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>
Diffstat (limited to 'fs/f2fs/data.c')
| -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 b25f6fc4f..7b6d99041 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -417,8 +417,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)); |
