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
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
inode.c
Makefile
mount.c
symlink.c
sysfs.h sysfs: make sysfs_{get,put}_active() static 2007-10-30 21:52:33 -07:00