Tao Ma d32647993c 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 <tao.ma@oracle.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2008-11-10 09:51:47 -08:00
..
2008-10-14 11:51:57 -07:00
2008-10-14 11:51:57 -07:00
2007-10-16 09:42:58 -07:00
2008-01-25 14:45:34 -08:00
2007-10-12 11:54:38 -07:00
2008-10-14 11:51:57 -07:00
2008-10-14 11:58:03 -07:00
2008-10-13 17:02:43 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2008-01-25 14:46:01 -08:00
2008-02-03 17:33:42 +02:00
2008-10-13 17:02:43 -07:00
2008-10-14 11:51:57 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 17:02:44 -07:00
2008-10-13 13:57:57 -07:00
2008-10-14 11:51:57 -07:00
2008-10-14 11:51:57 -07:00
2008-01-25 15:05:46 -08:00