From: Steven Rostedt Date: Wed, 23 Nov 2005 14:15:44 +0000 (-0500) Subject: [PATCH] sysfs: handle failures in sysfs_make_dirent X-Git-Tag: v2.6.16-rc1~474^2~22^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e80a5dea8e056d8f398be1900d61c581d379f02f;p=pandora-kernel.git [PATCH] sysfs: handle failures in sysfs_make_dirent 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed