From: Eric W. Biederman Date: Sun, 8 Nov 2009 07:27:01 +0000 (-0800) Subject: sysfs: Use dentry_ops instead of directly playing with the dcache X-Git-Tag: v2.6.33-rc1~314^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f077c8831528e2ec1ea6c8ba090e405fdcd0b7;p=pandora-kernel.git 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 Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed