diff options
| -rw-r--r-- | fs/ocfs2/xattr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index 41a6ca004ae3..92df88a41e5d 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c | |||
| @@ -2825,7 +2825,11 @@ static int ocfs2_xattr_create_index_block(struct inode *inode, | |||
| 2825 | if (data_bh) | 2825 | if (data_bh) |
| 2826 | ocfs2_journal_dirty(handle, data_bh); | 2826 | ocfs2_journal_dirty(handle, data_bh); |
| 2827 | 2827 | ||
| 2828 | ocfs2_xattr_update_xattr_search(inode, xs, xb_bh, xh_bh); | 2828 | ret = ocfs2_xattr_update_xattr_search(inode, xs, xb_bh, xh_bh); |
| 2829 | if (ret) { | ||
| 2830 | mlog_errno(ret); | ||
| 2831 | goto out_commit; | ||
| 2832 | } | ||
| 2829 | 2833 | ||
| 2830 | /* Change from ocfs2_xattr_header to ocfs2_xattr_tree_root */ | 2834 | /* Change from ocfs2_xattr_header to ocfs2_xattr_tree_root */ |
| 2831 | memset(&xb->xb_attrs, 0, inode->i_sb->s_blocksize - | 2835 | memset(&xb->xb_attrs, 0, inode->i_sb->s_blocksize - |
