diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-08-28 19:40:58 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-08-28 19:40:58 -0700 |
| commit | 176ac30e3ce05041d80ad1b02d86c1d57256c8eb (patch) | |
| tree | 9797419532cc295904a4336b6fe5bce058979205 /lib/kobject.c | |
| parent | 4377cbb9fe80d382473e2cc5e738054c4d6ac9f5 (diff) | |
[sysfs] Fix memory leak.
From Thomas Spatzier. First reported by Martin Schwidefsky.
Entries in the dentry_cache allocated for objects in sysfs are not freed when
the objects in sysfs are deleted. This effect is due to inconsistent reference
counting in sysfs. Furthermore, when calling sysfs_remove_dir the deleted
directory was not removed from its parent's list of children. The attached
patch should fix the problems.
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions
