diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index d960492d3d883a7ca3962f74cfc79668ae11ef3f..ef399a7794ff3bd4cc32bd244ab02f92f3fec326 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -1023,6 +1023,7 @@ static noinline int run_delalloc_nocow(struct inode *inode, if (found_key.offset > cur_offset) { extent_end = found_key.offset; + extent_type = 0; goto out_check; }