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/extent_cache.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/extent_cache.c')
-rw-r--r-- | fs/f2fs/extent_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c index 1bd38a78ebba..3aa2f8296045 100644 --- a/fs/f2fs/extent_cache.c +++ b/fs/f2fs/extent_cache.c @@ -938,7 +938,7 @@ out: static void __update_extent_cache(struct dnode_of_data *dn, enum extent_type type) { - struct extent_info ei; + struct extent_info ei = {}; if (!__may_extent_tree(dn->inode, type)) return; |