linux/fs/sysfs
Tejun Heo 51225039f3 sysfs: make directory dentries and inodes reclaimable
This patch makes dentries and inodes for sysfs directories
reclaimable.

* sysfs_notify() is modified to walk sysfs_dirent tree instead of
  dentry tree.

* sysfs_update_file() and sysfs_chmod_file() use sysfs_get_dentry() to
  grab the victim dentry.

* sysfs_rename_dir() and sysfs_move_dir() grab all dentries using
  sysfs_get_dentry() on startup.

* Dentries for all shadowed directories are pinned in memory to serve
  as lookup start point.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:09 -07:00
..
bin.c sysfs: make kobj point to sysfs_dirent instead of dentry 2007-07-11 16:09:08 -07:00
dir.c sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00
file.c sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00
group.c sysfs: make kobj point to sysfs_dirent instead of dentry 2007-07-11 16:09:08 -07:00
inode.c sysfs: move sysfs_drop_dentry() to dir.c and make it static 2007-07-11 16:09:09 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00
symlink.c sysfs: restructure add/remove paths and fix inode update 2007-07-11 16:09:09 -07:00
sysfs.h sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00