diff options
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r-- | fs/ocfs2/alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index f72712f6c28d..a0ca49f09880 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
@@ -5713,8 +5713,7 @@ int ocfs2_remove_btree_range(struct inode *inode, | |||
5713 | struct ocfs2_refcount_tree *ref_tree = NULL; | 5713 | struct ocfs2_refcount_tree *ref_tree = NULL; |
5714 | 5714 | ||
5715 | if ((flags & OCFS2_EXT_REFCOUNTED) && len) { | 5715 | if ((flags & OCFS2_EXT_REFCOUNTED) && len) { |
5716 | BUG_ON(!(OCFS2_I(inode)->ip_dyn_features & | 5716 | BUG_ON(!ocfs2_is_refcount_inode(inode)); |
5717 | OCFS2_HAS_REFCOUNT_FL)); | ||
5718 | 5717 | ||
5719 | if (!refcount_tree_locked) { | 5718 | if (!refcount_tree_locked) { |
5720 | ret = ocfs2_lock_refcount_tree(osb, refcount_loc, 1, | 5719 | ret = ocfs2_lock_refcount_tree(osb, refcount_loc, 1, |