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