summaryrefslogtreecommitdiffstats
path: root/fs/nfsctl.c
diff options
context:
space:
mode:
authorTejun Heo2007-06-13 21:27:25 +0200
committerGreg Kroah-Hartman2007-07-12 01:09:09 +0200
commit51225039f3cf9d250596d1344494b293274b9169 (patch)
tree4e646ab37043068824a146c7353c6242a4eb72df /fs/nfsctl.c
parentsysfs: implement sysfs_get_dentry() (diff)
downloadkernel-qcow2-linux-51225039f3cf9d250596d1344494b293274b9169.tar.gz
kernel-qcow2-linux-51225039f3cf9d250596d1344494b293274b9169.tar.xz
kernel-qcow2-linux-51225039f3cf9d250596d1344494b293274b9169.zip
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>
Diffstat (limited to 'fs/nfsctl.c')
0 files changed, 0 insertions, 0 deletions