mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	btrfs: scrub: remove the anonymous structure from scrub_page
That anonymous structure serve no special purpose, just replace it with regular members. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
		
							parent
							
								
									f97e27e91d
								
							
						
					
					
						commit
						2c36395430
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		|  | @ -71,11 +71,9 @@ struct scrub_page { | |||
| 	u64			physical; | ||||
| 	u64			physical_for_dev_replace; | ||||
| 	atomic_t		refs; | ||||
| 	struct { | ||||
| 		unsigned int	mirror_num:8; | ||||
| 		unsigned int	have_csum:1; | ||||
| 		unsigned int	io_error:1; | ||||
| 	}; | ||||
| 	u8			mirror_num; | ||||
| 	int			have_csum:1; | ||||
| 	int			io_error:1; | ||||
| 	u8			csum[BTRFS_CSUM_SIZE]; | ||||
| 
 | ||||
| 	struct scrub_recover	*recover; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Qu Wenruo
						Qu Wenruo