From: Dan Carpenter Date: Thu, 22 Apr 2010 09:39:29 +0000 (+0200) Subject: ocfs2: potential ERR_PTR dereference on error paths X-Git-Tag: v2.6.34-rc7~27^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0350cb078f5035716ebdad4ad4709d02fe466a8a;p=pandora-kernel.git ocfs2: potential ERR_PTR dereference on error paths If "handle" is non null at the end of the function then we assume it's a valid pointer and pass it to ocfs2_commit_trans(); Signed-off-by: Dan Carpenter Cc: Signed-off-by: Joel Becker --- Reading git-diff-tree failed