提交 fee187d9 编写于 作者: L Liu Bo 提交者: David Sterba

Btrfs: do not set EXTENT_DIRTY along with EXTENT_DELALLOC

Signed-off-by: NLiu Bo <liubo2009@cn.fujitsu.com>
上级 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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册