drbd: Define the size of res_opts->cpu_mask in a single place
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
This commit is contained in:
		
					parent
					
						
							
								6bbf53ca62
							
						
					
				
			
			
				commit
				
					
						f44d0436db
					
				
			
		
					 3 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -135,7 +135,7 @@ GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
 | 
			
		|||
)
 | 
			
		||||
 | 
			
		||||
GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
 | 
			
		||||
	__str_field_def(1,	DRBD_GENLA_F_MANDATORY,	cpu_mask,       32)
 | 
			
		||||
	__str_field_def(1,	DRBD_GENLA_F_MANDATORY,	cpu_mask,       DRBD_CPU_MASK_SIZE)
 | 
			
		||||
	__u32_field_def(2,	DRBD_GENLA_F_MANDATORY,	on_no_data, DRBD_ON_NO_DATA_DEF)
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue