Project

General

Profile

Actions

Feature #5898

open

151: Correct usage of sysfs groups

Added by Vadim Mutilin over 9 years ago. Updated over 9 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Start date:
05/06/2015
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

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 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 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

Actions #1

Updated by Vadim Mutilin over 9 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF