mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 00:38:55 +00:00
ocfs2: Don't panic when truncating an empty extent
This BUG_ON() was unintentionally left in after the sparse file support was written. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
parent
a86370fbb6
commit
92295d8054
@ -6093,8 +6093,6 @@ start:
|
||||
mlog(0, "clusters_to_del = %u in this pass, tail blk=%llu\n",
|
||||
clusters_to_del, (unsigned long long)path_leaf_bh(path)->b_blocknr);
|
||||
|
||||
BUG_ON(clusters_to_del == 0);
|
||||
|
||||
mutex_lock(&tl_inode->i_mutex);
|
||||
tl_sem = 1;
|
||||
/* ocfs2_truncate_log_needs_flush guarantees us at least one
|
||||
|
Loading…
x
Reference in New Issue
Block a user