sysfs: implement sysfs_find_dirent() and sysfs_get_dirent()
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 19:27:22 +0000 (04:27 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:08 +0000 (16:09 -0700)
commitf0b0af4792d751106e2003f96af76fa95e10c68d
tree09483c5b34009cc815897d885f310d0704d0c396
parent380e6fbb729a55b73d5d8409551474884e0d93fc
sysfs: implement sysfs_find_dirent() and sysfs_get_dirent()

Implement sysfs_find_dirent() and sysfs_get_dirent().
sysfs_dirent_exist() is replaced by sysfs_find_dirent().  These will
be used to make directory entries reclamiable.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
fs/sysfs/file.c
fs/sysfs/symlink.c
fs/sysfs/sysfs.h