sysfs: implement SYSFS_FLAG_REMOVED flag
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)
commit380e6fbb729a55b73d5d8409551474884e0d93fc
tree38922357a91869f0d8c9769fa5afa504f1175fc0
parentb402d72cf7b338a074e3c12b305ec79284e18845
sysfs: implement SYSFS_FLAG_REMOVED flag

Implement SYSFS_FLAG_REMOVED flag which currently is used only to
improve sanity check in sysfs_deactivate().  The flag 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/inode.c
include/linux/sysfs.h