forked from mirrors/linux
		
	Btrfs: do not set EXTENT_DIRTY along with EXTENT_DELALLOC
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
This commit is contained in:
		
							parent
							
								
									f0dd9592a1
								
							
						
					
					
						commit
						fee187d9d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue