|
@@ -1238,6 +1238,10 @@ static int ocfs2_xattr_block_get(struct inode *inode,
|
|
i,
|
|
i,
|
|
&block_off,
|
|
&block_off,
|
|
&name_offset);
|
|
&name_offset);
|
|
|
|
+ if (ret) {
|
|
|
|
+ mlog_errno(ret);
|
|
|
|
+ goto cleanup;
|
|
|
|
+ }
|
|
xs->base = bucket_block(xs->bucket, block_off);
|
|
xs->base = bucket_block(xs->bucket, block_off);
|
|
}
|
|
}
|
|
if (ocfs2_xattr_is_local(xs->here)) {
|
|
if (ocfs2_xattr_is_local(xs->here)) {
|
|
@@ -5665,6 +5669,10 @@ static int ocfs2_delete_xattr_in_bucket(struct inode *inode,
|
|
|
|
|
|
ret = ocfs2_get_xattr_tree_value_root(inode->i_sb, bucket,
|
|
ret = ocfs2_get_xattr_tree_value_root(inode->i_sb, bucket,
|
|
i, &xv, NULL);
|
|
i, &xv, NULL);
|
|
|
|
+ if (ret) {
|
|
|
|
+ mlog_errno(ret);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
|
|
ret = ocfs2_lock_xattr_remove_allocators(inode, xv,
|
|
ret = ocfs2_lock_xattr_remove_allocators(inode, xv,
|
|
args->ref_ci,
|
|
args->ref_ci,
|