diff options
author | Liu Bo <liubo2009@cn.fujitsu.com> | 2011-09-29 03:55:28 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-10-20 12:10:45 -0400 |
commit | fee187d9d9ddc382c81370a9a280391132dea2e1 (patch) | |
tree | 74f67c36c8397985d2ece7c6d58c0190e0878124 /fs/btrfs/extent_io.c | |
parent | f0dd9592a1aa014b3a01aa2be7e795aae040d65b (diff) |
Btrfs: do not set EXTENT_DIRTY along with EXTENT_DELALLOC
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
1107 | struct extent_state **cached_state, gfp_t mask) | 1107 | struct extent_state **cached_state, gfp_t mask) |
1108 | { | 1108 | { |
1109 | return set_extent_bit(tree, start, end, | 1109 | return set_extent_bit(tree, start, end, |
1110 | EXTENT_DELALLOC | EXTENT_DIRTY | EXTENT_UPTODATE, | 1110 | EXTENT_DELALLOC | EXTENT_UPTODATE, |
1111 | 0, NULL, cached_state, mask); | 1111 | 0, NULL, cached_state, mask); |
1112 | } | 1112 | } |
1113 | 1113 | ||