sysfs: fix parent refcounting during rename and move
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 18:45:17 +0000 (03:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:07 +0000 (16:09 -0700)
commit7f7cfffe60ed6271c4028ec79ae1c297b44bcb14
treeb2d0f1228f9b6cc0cc262cd1be6d950ec4816291
parent42b37df6abb42ae021e15bf865b43f3629c7f3ab
sysfs: fix parent refcounting during rename and move

Parent reference wasn't properly transferred during rename and move.
Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c