Dan Carpenter 7bd897cfce block: fix an error code in add_partition()
We don't set an error code on this path.  It means that we return NULL
instead of an error pointer and the caller does a NULL dereference.

Fixes: 6d1d8050b4bc ("block, partition: add partition_meta_info to hd_struct")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-05-23 08:41:59 -06:00
..
2016-10-28 08:45:17 -06:00
2017-05-01 14:09:21 -07:00
2017-04-21 07:56:23 -06:00
2017-05-04 08:24:13 -06:00
2017-04-21 07:56:23 -06:00
2017-04-19 17:38:36 -06:00
2017-05-04 08:25:17 -06:00