diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index ed7618389327f7ad403a61f723915ab23f719fac..9cebb1fd6a3cc59919c7c990d3016caee52b5849 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -3337,7 +3337,7 @@ void btrfsic_unmount(struct btrfs_root *root, btrfsic_block_link_free(l); } - if (b_all->is_iodone) + if (b_all->is_iodone || b_all->never_written) btrfsic_block_free(b_all); else printk(KERN_INFO "btrfs: attempt to free %c-block"