diff options
author | Eric W. Biederman <[email protected]> | 2009-11-07 23:27:01 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-12-11 11:24:53 -0800 |
commit | e8f077c8831528e2ec1ea6c8ba090e405fdcd0b7 (patch) | |
tree | 707b25f1368d59d7d945ae46d2139f6592120a8e /net/lapb/lapb_iface.c | |
parent | 28a027cfc0d527fcc31bfeac1d94d572c68847d1 (diff) |
sysfs: Use dentry_ops instead of directly playing with the dcache
Calling d_drop unconditionally when a sysfs_dirent is deleted has
the potential to leak mounts, so instead implement dentry delete
and revalidate operations that cause sysfs dentries to be removed
at the appropriate time.
Acked-by: Tejun Heo <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions