]> git.baikalelectronics.ru Git - kernel.git/commit
mm/backing-dev.c: fix an error handling path in 'cgwb_create()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 11 Sep 2017 19:43:23 +0000 (21:43 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Sep 2017 20:16:44 +0000 (14:16 -0600)
commit0b045bd1c1c2819b33f4522e3efa4666d1ecf1a4
tree33fb862c96efa57895b6a67980f8e27c0c24363b
parent09c2c359be546df45be0b158ea1d3cc8ea83c876
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Fixes: 52ebea749aae ("writeback: make backing_dev_info host cgroup-specific bdi_writebacks")
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/backing-dev.c