linux-stable-rt/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
..
Makefile
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 mm: bdi init hooks 2007-10-17 08:42:45 -07:00
mount.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
symlink.c
sysfs.h sysfs: make sysfs_{get,put}_active() static 2007-10-30 21:52:33 -07:00