[PATCH] fs/partitions/check: add sysfs error handling
authorJeff Garzik <jeff@garzik.org>
Tue, 17 Oct 2006 07:10:23 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:47 +0000 (08:18 -0700)
commiteee44cca665aa1a5663e6a00c2bdfc275739dac5
tree86bf3f4d3d265a487d6f8e029e2e43dadf812e2c
parent6b5f29675c6a1041aefc147271508bd56cf2b761
[PATCH] fs/partitions/check: add sysfs error handling

Handle errors thrown in disk_sysfs_symlinks(), and propagate back to
caller.

The callers and associated functions don't do a real good job of handling
kobject errors anyway (add_partition, register_disk, rescan_partitions), so
this should do until something better comes along.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/partitions/check.c