diff options
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r-- | fs/ocfs2/alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 377acb24f67b..dc36cd140754 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
@@ -4527,7 +4527,8 @@ static int ocfs2_split_tree(struct inode *inode, struct buffer_head *di_bh, | |||
4527 | } else | 4527 | } else |
4528 | rightmost_el = path_leaf_el(path); | 4528 | rightmost_el = path_leaf_el(path); |
4529 | 4529 | ||
4530 | credits += path->p_tree_depth + ocfs2_extend_meta_needed(di); | 4530 | credits += path->p_tree_depth + |
4531 | ocfs2_extend_meta_needed(&di->id2.i_list); | ||
4531 | ret = ocfs2_extend_trans(handle, credits); | 4532 | ret = ocfs2_extend_trans(handle, credits); |
4532 | if (ret) { | 4533 | if (ret) { |
4533 | mlog_errno(ret); | 4534 | mlog_errno(ret); |