From: Tejun Heo Date: Mon, 10 Nov 2008 06:29:58 +0000 (+0900) Subject: block: make add_partition() return pointer to hd_struct X-Git-Tag: v2.6.28-rc6~51^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba32929a91fe2c0628f5be62d1597b379c8d3062;p=pandora-kernel.git block: make add_partition() return pointer to hd_struct Make add_partition() return pointer to the new hd_struct on success and ERR_PTR() value on failure. This change will be used to fix md autodetection bug. Signed-off-by: Tejun Heo Cc: Neil Brown Signed-off-by: Jens Axboe --- Reading git-diff-tree failed