swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Revision 208f3d6175cb17772c5af202fe12373f90894ff4 authored by Maneesh Soni on 16 August 2005, 22:15:48 UTC, committed by Linus Torvalds on 17 August 2005, 04:06:24 UTC
This moves the code to free devt_attr from class_device_del() to
class_dev_release() which is called after the last reference to the
corresponding kobject() is gone.

This allows us to keep the devt_attr alive while the corresponding
sysfs file is open.

Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 12aaa08
History
Tip revision: d1221cea11fca0f6946bdd032a45b22cecfc0f99 authored by Linus Torvalds on 13 September 2022, 13:11:38 UTC
Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Tip revision: d1221ce

README

back to top