From: Julia Lawall Date: Fri, 28 Mar 2008 21:43:10 +0000 (-0700) Subject: fs/ocfs2/aops.c: test for IS_ERR rather than 0 X-Git-Tag: v2.6.26-rc1~1143^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58dadcdbc2584db050969f9781727fc5a3f618db;p=pandora-kernel.git fs/ocfs2/aops.c: test for IS_ERR rather than 0 The function ocfs2_start_trans always returns either a valid pointer or a value made with ERR_PTR, so its result should be tested with IS_ERR, not with a test for 0. Signed-off-by: Julia Lawall Signed-off-by: Andrew Morton Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed