This patch is part of dm/md sysfs dependency tree. This adds kobject_add_dir() function which creates a subdirectory for a given kobject. Thanks, -- Jun'ichi Nomura, NEC Solutions (America), Inc.