1. 05 Jun, 2003 4 commits
    • Patrick Mochel's avatar
    • Patrick Mochel's avatar
      [driver model] Add device_for_each_child iterator. · ace11a78
      Patrick Mochel authored
      From Mike Anderson: 
      
      I have been using it on an outstanding patch for scsi_set_host_offline. It
      appears to work fine in my testing.
      ace11a78
    • Patrick Mochel's avatar
      [kobject] Remove kobj_lock and use lockless refcounting. · 29b9acf6
      Patrick Mochel authored
      The only thing preventing this from happening earlier was the circular sysfs
      registration dependency - it would need to be initialized before it was 
      registered, but needed to be registered before it was initialized. 
      
      With kobjects gone from struct filesystem_type, the dependency no longer 
      exists and we don't have to special-case the possibility that a kobject will
      be passed to kobject_get with a refcount == 0. 
      
      Note that a kobject with a count of 0 in that function is still a bug, but 
      one in the subsystem making the call. We should add a debugging hook to dump
      the stack if it does happen. 
      29b9acf6
    • Patrick Mochel's avatar
      [fs] Remove kobject support for filesystems · 043400bf
      Patrick Mochel authored
      It was initially added for the immediate gain of being able to see what 
      filesystems were registered in the system. However, it was done without
      proper analysis of the lifetime rules associated with them. 
      
      Someday, we should convert struct filesystem_type and struct super_block to
      use kobjects, though it will take sufficent time and effort to get it right.
      Until then, we go without..
      043400bf
  2. 03 Jun, 2003 21 commits
  3. 04 Jun, 2003 6 commits
  4. 03 Jun, 2003 6 commits
  5. 02 Jun, 2003 3 commits