diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-12-16 14:05:44 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-03 08:59:05 -0800 |
commit | fe59109ae5c0b34a8c7c07f693fc501b12b57787 (patch) | |
tree | 6bbe9a10f8bb415293e6f41119e3ec09dbe4573c /fs/f2fs/extent_cache.c | |
parent | b3d83066cbebc76dbac8a5fca931f64b4c6fff34 (diff) | |
download | linux-fe59109ae5c0b34a8c7c07f693fc501b12b57787.tar.gz linux-fe59109ae5c0b34a8c7c07f693fc501b12b57787.tar.bz2 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; |