git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49452c
)
sysfs: fix bugs in sysfs_rename/move_dir()
author
Tejun Heo
<htejun@gmail.com>
Wed, 16 Jan 2008 03:10:53 +0000
(12:10 +0900)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 16 Jan 2008 17:54:03 +0000
(09:54 -0800)
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>
No differences found