From: Liu Bo Date: Thu, 29 Sep 2011 07:55:28 +0000 (+0800) Subject: Btrfs: do not set EXTENT_DIRTY along with EXTENT_DELALLOC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fee187d9d9ddc382c81370a9a280391132dea2e1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Btrfs: do not set EXTENT_DIRTY along with EXTENT_DELALLOC Signed-off-by: Liu Bo --- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 0ada0b700b44..f284d4e5f447 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -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); }