From: Jan Kara Date: Mon, 20 Oct 2008 17:23:51 +0000 (+0200) Subject: ocfs2: Fix check of return value of ocfs2_start_trans() X-Git-Tag: v2.6.28-rc5~82^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa38e92cb34e27e60d0faf1035934eb9b44aa1d4;p=pandora-kernel.git ocfs2: Fix check of return value of ocfs2_start_trans() On failure, ocfs2_start_trans() returns values like ERR_PTR(-ENOMEM). Thus checks for !handle are wrong. Fix them to use IS_ERR(). Signed-off-by: Jan Kara Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed