|
@@ -537,7 +537,7 @@ static inline int ocfs2_calc_extend_credits(struct super_block *sb,
|
|
extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth);
|
|
extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth);
|
|
|
|
|
|
return bitmap_blocks + sysfile_bitmap_blocks + extent_blocks +
|
|
return bitmap_blocks + sysfile_bitmap_blocks + extent_blocks +
|
|
- ocfs2_quota_trans_credits(sb) + bits_wanted;
|
|
|
|
|
|
+ ocfs2_quota_trans_credits(sb);
|
|
}
|
|
}
|
|
|
|
|
|
static inline int ocfs2_calc_symlink_credits(struct super_block *sb)
|
|
static inline int ocfs2_calc_symlink_credits(struct super_block *sb)
|