Skip to content
Commit 0b045bd1 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jens Axboe
Browse files

mm/backing-dev.c: fix an error handling path in 'cgwb_create()'



If the 'kmalloc' fails, we must go through the existing error handling
path.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fixes: 52ebea74 ("writeback: make backing_dev_info host cgroup-specific bdi_writebacks")
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 09c2c359
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment