From: Tao Ma Date: Thu, 23 Oct 2008 23:57:28 +0000 (+0800) Subject: ocfs2: Fix check of return value of ocfs2_start_trans() in xattr.c. X-Git-Tag: v2.6.28-rc5~82^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32647993c211901fc4819ef3327f62d1859241b;p=pandora-kernel.git ocfs2: Fix check of return value of ocfs2_start_trans() in xattr.c. On failure, ocfs2_start_trans() returns values like ERR_PTR(-ENOMEM), so we should check whether handle is NULL. Fix them to use IS_ERR(). Jan has made the patch for other part in ocfs2(thank Jan for it), so this is just the fix for fs/ocfs2/xattr.c. Signed-off-by: Tao Ma Cc: Jan Kara Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed