linux/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