• Patrick Mochel's avatar
    kobject: don't create directory for kobject/subsystem if name is NULL. · b053262f
    Patrick Mochel authored
    This allows subsystems to exist the hierarchy, but not be exported via
    the filesystem. This fixes a minor flaw with partitions, as partition
    objects are children of block devices, though they register with the 
    partition subsystem. Really, the partition subsystem shouldn't have 
    presence in the tree at all, yet still exist.
    b053262f
kobject.c 4.59 KB