mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 11:01:43 +00:00
dm writecache: fix uninitialized variable warning
This fixes coverity warning CID 1454301. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
8adeac3be0
commit
8dd85873a0
@ -1561,7 +1561,7 @@ static void writecache_writeback(struct work_struct *work)
|
||||
{
|
||||
struct dm_writecache *wc = container_of(work, struct dm_writecache, writeback_work);
|
||||
struct blk_plug plug;
|
||||
struct wc_entry *f, *g, *e = NULL;
|
||||
struct wc_entry *f, *uninitialized_var(g), *e = NULL;
|
||||
struct rb_node *node, *next_node;
|
||||
struct list_head skipped;
|
||||
struct writeback_list wbl;
|
||||
|
Loading…
Reference in New Issue
Block a user