Wei Yongjun fa4d683af3 dm cache: fix error return code in cache_create
Return -ENOMEM if memory allocation fails in cache_create
instead of 0 (to avoid NULL pointer dereference).

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: stable@vger.kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2013-05-10 14:37:14 +01:00
..
2013-05-07 11:22:14 -07:00
2013-05-07 20:16:25 -07:00
2013-04-29 00:08:46 +02:00
2013-04-26 22:30:25 +02:00
2013-04-28 01:54:49 +02:00
2013-05-06 14:59:13 -07:00
2013-05-04 12:31:18 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-05-07 11:22:14 -07:00
2013-05-07 11:22:14 -07:00
2013-05-07 18:38:29 -07:00
2013-05-02 14:02:32 -07:00
2013-05-07 10:13:52 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00