summaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-02-27 15:38:23 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-04 14:47:05 -0800
commitc1fe539a7e031302af1d121163e7ce68e679ba8c (patch)
treec53ec9b8421487df0a5215f05c90a327bae19942 /fs/debugfs
parent135dee0cd0eb2638fab899b428e51f00e8c046a8 (diff)
downloadop-kernel-dev-c1fe539a7e031302af1d121163e7ce68e679ba8c.zip
op-kernel-dev-c1fe539a7e031302af1d121163e7ce68e679ba8c.tar.gz
Driver core: Fix cleanup when failing device_add().
Driver core: Fix cleanup when failing device_add(). - Don't call cleanup_device_parent() if we didn't call setup_parent(). - dev->kobj.parent may be NULL when cleanup_device_parent() is called, so we need to handle glue_dir == NULL in cleanup_glue_dir(). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud