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-Tag: v3.2-rc1~21^2~23^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fee187d9d9ddc382c81370a9a280391132dea2e1;p=profile%2Fivi%2Fkernel-x86-ivi.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 0ada0b7..f284d4e 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); }