]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: check for allocation failures
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 5 Jul 2013 06:05:46 +0000 (09:05 +0300)
committerKent Overstreet <kmo@daterainc.com>
Fri, 12 Jul 2013 07:22:46 +0000 (00:22 -0700)
commiteabfa07af5be890b28d78947fd94fcbd4fa86be9
tree398b6ca67bada221c6f56dc0adec950f63fbc0d8
parentfca466615e63bb9b68e34a87f189cb495f678f4a
bcache: check for allocation failures

There is a missing NULL check after the kzalloc().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
drivers/md/bcache/sysfs.c