summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-02-12 02:20:00 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-08 04:04:51 +0300
commita2db6842873c8e5a70652f278d469128cb52db70 (patch)
tree0415c6cfb33753c7a20e05d95e3ce485a60b1f41 /samples
parente72ceb8ccac5f770b3e696e09bb673dca7024b20 (diff)
downloadlinux-a2db6842873c8e5a70652f278d469128cb52db70.tar.xz
sysfs: Only take active references on attributes.
If we exclude directories and symlinks from the set of sysfs dirents where we need active references we are left with sysfs attributes (binary or not). - Tweak sysfs_deactivate to only do something on attributes - Move lockdep initialization into sysfs_file_add_mode to limit it to just attributes. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions