diff options
author | Tejun Heo <[email protected]> | 2008-01-16 12:10:53 +0900 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-01-16 09:54:03 -0800 |
commit | 456ef1553cb2b06729d64c1d1f0f2bda34e9b201 (patch) | |
tree | 4ad211cbaff6056d9f1c9aded2d24e83b1641c31 /net/unix/sysctl_net_unix.c | |
parent | e49452c67703d3647467d65275fb893589384fed (diff) |
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions