aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2008-10-23 19:57:28 -0400
committerMark Fasheh <mfasheh@suse.com>2008-11-10 12:51:47 -0500
commitd32647993c211901fc4819ef3327f62d1859241b (patch)
tree54178f5bdb8c654b917aedc08a8284c2596391ea /fs/open.c
parentb99835c1684918b9975851d71455c5c007d1715b (diff)
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions