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
..
2007-10-12 14:51:12 -07:00
2007-10-17 08:42:45 -07:00
2005-04-16 15:20:36 -07:00
2007-10-17 08:42:45 -07:00
2007-10-12 14:51:12 -07:00