commit | 144214537370b4f133a735446ebe86e90cfb2501 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Fri Apr 02 09:46:55 2010 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Apr 02 09:46:55 2010 +0200 |
tree | 840f26c5a83d4730c28b5c46ec000a76e89adcc9 | |
parent | a506aedc51093544ff0f9610af6066d18cb6abbe [diff] |
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 <anton@samba.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>