From: Anton Blanchard Date: Fri, 2 Apr 2010 07:46:55 +0000 (+0200) Subject: backing-dev: Handle class_create() failure X-Git-Tag: v2.6.34-rc4~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=144214537370b4f133a735446ebe86e90cfb2501;p=pandora-kernel.git backing-dev: Handle class_create() failure I hit this when we had a bug in IDR for a few days. Basically sysfs would fail to create new inodes since it uses an IDR and therefore class_create would fail. While we are unlikely to see this fail we may as well handle it instead of oopsing. Signed-off-by: Anton Blanchard Signed-off-by: Jens Axboe --- Reading git-diff-tree failed