android_kernel_xiaomi_sm8350/fs/sysfs
Eric W. Biederman 9918f9a481 sysfs: Rewrite rename in terms of sysfs dirents
This patch rewrites sysfs_rename_dir to perform it's checks
as much as possible on the underlying sysfs_dirents instead
of the contents of the dcache.  It turns out that this version
is a little simpler, and a little more like the rest of
the sysfs directory modification code.

tj: fixed double locking of sysfs_mutex

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:08 -07:00
..
bin.c sysfs: cleanup semaphore.h 2007-10-12 14:51:03 -07:00
dir.c sysfs: Rewrite rename in terms of sysfs dirents 2007-10-12 14:51:08 -07:00
file.c sysfs: Introduce sysfs_rename_mutex 2007-10-12 14:51:08 -07:00
group.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c sysfs: Remove sysfs_instantiate 2007-10-12 14:51:07 -07:00
Makefile
mount.c sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00
symlink.c sysfs: Make sysfs_mount static 2007-10-12 14:51:07 -07:00
sysfs.h sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00