android_kernel_xiaomi_sm8350/fs/sysfs
Tejun Heo 456ef1553c sysfs: fix bugs in sysfs_rename/move_dir()
sysfs_rename/move_dir() have the following bugs.

 - On dentry lookup failure, kfree() is called on ERR_PTR() value.
 - sysfs_move_dir() has an extra dput() on success path.

Fix them.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-16 09:54:03 -08:00
..
bin.c sysfs: add copyrights 2007-10-12 14:51:12 -07:00
dir.c sysfs: fix bugs in sysfs_rename/move_dir() 2008-01-16 09:54:03 -08:00
file.c sysfs: fix off-by-one error in fill_read_buffer() 2007-11-28 13:53:53 -08:00
group.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
Makefile
mount.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
symlink.c sysfs: add copyrights 2007-10-12 14:51:12 -07:00
sysfs.h sysfs: make sysfs_{get,put}_active() static 2007-10-30 21:52:33 -07:00