25 Jan, 2008

2 commits

  • We don't need a kset here, a simple kobject will do just fine, so
    dynamically create the kobject and use it.

    We also rename hypervisor_subsys to hypervisor_kset to catch all users
    of the variable.

    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • We don't need a "default" ktype for a kset. We should set this
    explicitly every time for each kset. This change is needed so that we
    can make ksets dynamic, and cleans up one of the odd, undocumented
    assumption that the kset/kobject/ktype model has.

    This patch is based on a lot of help from Kay Sievers.

    Nasty bug in the block code was found by Dave Young

    Cc: Kay Sievers
    Cc: Dave Young
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

20 Sep, 2006

1 commit


22 Jun, 2006

1 commit