Project

General

Profile

Feature #5898

Updated by Vadim Mutilin over 9 years ago

*Summary* 

 The module should not delete a group which was not previously created for a virtual file system. 
 The module should not recreate a group and should not delete already deleted group. 

 At the end the module should delete all previously created groups. 

 *Description* 
 Sysfs The sysfs groups are created with the help of  
 _int sysfs_create_group(struct kobject *, const struct attribute_group *)_ and  
 _static inline int sysfs_create_group(struct kobject *, const struct attribute_group *)_. 
 Sysfs The sysfs groups are removed with _void sysfs_remove_group(struct kobject *, const struct attribute_group *)_ 
 and _static inline void sysfs_remove_group(struct kobject *, const struct attribute_group *)_. 

 *Links* 
 Sample bugfix "a5ba67d":https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=a5ba67d

Back