linux-sg2042/fs/sysfs
Mark Fasheh a839c5afcd sysfs: Allow removal of symlinks in the sysfs root
Allow callers of sysfs_remove_link() to pass a NULL kobj, in which case
sysfs_root will be used as the parent directory. This allows us to tear down
top level symlinks created via sysfs_create_link(), which already has
similar handling of a NULL parent object.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-18 08:56:10 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bin.c sysfs: add copyrights 2007-10-12 14:51:12 -07:00
dir.c sysfs: Fix a copy-n-paste typo in comment 2008-01-24 20:40:04 -08:00
file.c driver core: debug for bad dev_attr_show() return value. 2008-03-24 22:33:49 -07:00
group.c sysfs: remove BUG_ON() from sysfs_remove_group() 2008-02-07 11:31:46 -08:00
inode.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
mount.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
symlink.c sysfs: Allow removal of symlinks in the sysfs root 2008-04-18 08:56:10 -07:00
sysfs.h sysfs: make sysfs_{get,put}_active() static 2007-10-30 21:52:33 -07:00