aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
index 789fb70462c9..a371c01942b1 100644
--- a/fs/ocfs2/xattr.c
+++ b/fs/ocfs2/xattr.c
@@ -4092,7 +4092,7 @@ static int ocfs2_xattr_value_update_size(struct inode *inode,
4092 handle_t *handle = NULL; 4092 handle_t *handle = NULL;
4093 4093
4094 handle = ocfs2_start_trans(osb, 1); 4094 handle = ocfs2_start_trans(osb, 1);
4095 if (handle == NULL) { 4095 if (IS_ERR(handle)) {
4096 ret = -ENOMEM; 4096 ret = -ENOMEM;
4097 mlog_errno(ret); 4097 mlog_errno(ret);
4098 goto out; 4098 goto out;
@@ -4259,7 +4259,7 @@ static int ocfs2_rm_xattr_cluster(struct inode *inode,
4259 } 4259 }
4260 4260
4261 handle = ocfs2_start_trans(osb, OCFS2_REMOVE_EXTENT_CREDITS); 4261 handle = ocfs2_start_trans(osb, OCFS2_REMOVE_EXTENT_CREDITS);
4262 if (handle == NULL) { 4262 if (IS_ERR(handle)) {
4263 ret = -ENOMEM; 4263 ret = -ENOMEM;
4264 mlog_errno(ret); 4264 mlog_errno(ret);
4265 goto out; 4265 goto out;