OpenCloudOS-Kernel/fs/sysfs
Eric W. Biederman 0b4a4fea25 kobject: Cleanup kobject_rename and !CONFIG_SYSFS
It finally dawned on me what the clean fix to sysfs_rename_dir
calling kobject_set_name is.  Move the work into kobject_rename
where it belongs.  The callers serialize us anyway so this is
safe.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-16 09:24:52 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bin.c sysfs: fix deadlock 2008-10-16 09:24:50 -07:00
dir.c kobject: Cleanup kobject_rename and !CONFIG_SYSFS 2008-10-16 09:24:52 -07:00
file.c sysfs: Make dir and name args to sysfs_notify() const 2008-10-16 09:24:51 -07:00
group.c Use WARN() in fs/sysfs 2008-07-26 12:00:07 -07:00
inode.c sysfs: Disallow truncation of files in sysfs 2008-04-30 16:52:46 -07:00
mount.c sysfs: Support sysfs_notify from atomic context with new sysfs_notify_dirent 2008-10-16 09:24:47 -07:00
symlink.c driver core: Suppress sysfs warnings for device_rename(). 2008-07-21 21:55:01 -07:00
sysfs.h sysfs: Support sysfs_notify from atomic context with new sysfs_notify_dirent 2008-10-16 09:24:47 -07:00