• Maneesh Soni's avatar
    [PATCH] sysfs_rename_dir-cleanup · 51c0c34c
    Maneesh Soni authored
    o The following patch cleans up sysfs_rename_dir(). It now checks the
      return code of kobject_set_name() and propagates the error code to its
      callers. Because of this there are changes in the following two APIs. Both
      return int instead of void.
    
    int sysfs_rename_dir(struct kobject * kobj, const char *new_name)
    int kobject_rename(struct kobject * kobj, char *new_name)
    51c0c34c
kobject.c 13.4 KB