summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-01-16 04:10:53 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-16 18:54:03 +0100
commit456ef1553cb2b06729d64c1d1f0f2bda34e9b201 (patch)
tree4ad211cbaff6056d9f1c9aded2d24e83b1641c31 /fs/ramfs
parentsysfs: make sysfs_lookup() return ERR_PTR(-ENOENT) on failed lookup (diff)
downloadlinux-456ef1553cb2b06729d64c1d1f0f2bda34e9b201.tar.xz
linux-456ef1553cb2b06729d64c1d1f0f2bda34e9b201.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions