Commit fee187d9 authored by Liu Bo's avatar Liu Bo Committed by David Sterba
Browse files

Btrfs: do not set EXTENT_DIRTY along with EXTENT_DELALLOC



Signed-off-by: default avatarLiu Bo <liubo2009@cn.fujitsu.com>
parent f0dd9592
......@@ -1107,7 +1107,7 @@ int set_extent_delalloc(struct extent_io_tree *tree, u64 start, u64 end,
struct extent_state **cached_state, gfp_t mask)
{
return set_extent_bit(tree, start, end,
EXTENT_DELALLOC | EXTENT_DIRTY | EXTENT_UPTODATE,
EXTENT_DELALLOC | EXTENT_UPTODATE,
0, NULL, cached_state, mask);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment