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:
Родитель
8adeac3be0
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче