diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2010-02-12 13:35:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-08 02:04:51 +0100 |
commit | 35960258ed388cdcebdb71df35fd5126978ca325 (patch) | |
tree | 138516adc0b6232c57f9755788987fee18f26de8 /kernel/module.c | |
parent | sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributes (diff) | |
download | linux-35960258ed388cdcebdb71df35fd5126978ca325.tar.xz linux-35960258ed388cdcebdb71df35fd5126978ca325.zip |
sysfs: Document sysfs_attr_init and sysfs_bin_attr_init
I have added a new requirement to the external sysfs interface
that dynamically allocated sysfs attributes must call sysfs_attr_init
if lockdep is enabled. For the time being callying sysfs_attr_init
is only mandatory if lockdep is enabled, so we can live with a few
unconverted instances until we find them all. As this is part of
the public interface of sysfs it is a good idea to document these
pseudo functions so someone inspeciting the code can find out
what has happened.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions