diff options
Diffstat (limited to 'fs/ocfs2/xattr.c')
-rw-r--r-- | fs/ocfs2/xattr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index 85b190dc132f..4ca7533be479 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c | |||
@@ -1238,6 +1238,10 @@ static int ocfs2_xattr_block_get(struct inode *inode, | |||
1238 | i, | 1238 | i, |
1239 | &block_off, | 1239 | &block_off, |
1240 | &name_offset); | 1240 | &name_offset); |
1241 | if (ret) { | ||
1242 | mlog_errno(ret); | ||
1243 | goto cleanup; | ||
1244 | } | ||
1241 | xs->base = bucket_block(xs->bucket, block_off); | 1245 | xs->base = bucket_block(xs->bucket, block_off); |
1242 | } | 1246 | } |
1243 | if (ocfs2_xattr_is_local(xs->here)) { | 1247 | if (ocfs2_xattr_is_local(xs->here)) { |
@@ -5665,6 +5669,10 @@ static int ocfs2_delete_xattr_in_bucket(struct inode *inode, | |||
5665 | 5669 | ||
5666 | ret = ocfs2_get_xattr_tree_value_root(inode->i_sb, bucket, | 5670 | ret = ocfs2_get_xattr_tree_value_root(inode->i_sb, bucket, |
5667 | i, &xv, NULL); | 5671 | i, &xv, NULL); |
5672 | if (ret) { | ||
5673 | mlog_errno(ret); | ||
5674 | break; | ||
5675 | } | ||
5668 | 5676 | ||
5669 | ret = ocfs2_lock_xattr_remove_allocators(inode, xv, | 5677 | ret = ocfs2_lock_xattr_remove_allocators(inode, xv, |
5670 | args->ref_ci, | 5678 | args->ref_ci, |