diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-12-16 23:05:44 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-03 17:59:05 +0100 |
commit | fe59109ae5c0b34a8c7c07f693fc501b12b57787 (patch) | |
tree | 6bbe9a10f8bb415293e6f41119e3ec09dbe4573c /fs/f2fs/file.c | |
parent | f2fs: fix to avoid NULL pointer dereference in f2fs_issue_flush() (diff) | |
download | linux-fe59109ae5c0b34a8c7c07f693fc501b12b57787.tar.xz linux-fe59109ae5c0b34a8c7c07f693fc501b12b57787.zip |
f2fs: initialize extent_cache parameter
This can avoid confusing tracepoint values.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r-- | fs/f2fs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index a6c401279886..ecbc8c135b49 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -2559,7 +2559,7 @@ static int f2fs_defragment_range(struct f2fs_sb_info *sbi, struct f2fs_map_blocks map = { .m_next_extent = NULL, .m_seg_type = NO_CHECK_TYPE, .m_may_create = false }; - struct extent_info ei = {0, }; + struct extent_info ei = {}; pgoff_t pg_start, pg_end, next_pgofs; unsigned int blk_per_seg = sbi->blocks_per_seg; unsigned int total = 0, sec_num; |