sysfs: make sysfs_put() ignore NULL sd
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 18:45:13 +0000 (03:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:03 +0000 (16:09 -0700)
commit7a23ad44047b1084a032bc0d127fe08af024593a
tree1f1819b0897fdd8e0237f22d8eebeb55b75894b9
parent2b611bb7abdcc08278453fc9f6517401fd69ef95
sysfs: make sysfs_put() ignore NULL sd

Make sysfs_put() ignore NULL sd instead of oopsing.

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