[PATCH] sysfs: handle failures in sysfs_make_dirent
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Nov 2005 14:15:44 +0000 (09:15 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2006 00:18:09 +0000 (16:18 -0800)
I noticed that if sysfs_make_dirent fails to allocate the sd, then a
null will be passed to sysfs_put.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found