[SCSI] be2iscsi: No requirement for endianess change for data_count
This patch removes the endianess change that was wrongly added for data_count Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
		
					parent
					
						
							
								0ecb0b45f2
							
						
					
				
			
			
				commit
				
					
						51a462500f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -3607,7 +3607,7 @@ static int beiscsi_mtask(struct iscsi_task *task)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	AMAP_SET_BITS(struct amap_iscsi_wrb, r2t_exp_dtl, pwrb,
 | 
						AMAP_SET_BITS(struct amap_iscsi_wrb, r2t_exp_dtl, pwrb,
 | 
				
			||||||
		      be32_to_cpu(task->data_count));
 | 
							      task->data_count);
 | 
				
			||||||
	AMAP_SET_BITS(struct amap_iscsi_wrb, ptr2nextwrb, pwrb,
 | 
						AMAP_SET_BITS(struct amap_iscsi_wrb, ptr2nextwrb, pwrb,
 | 
				
			||||||
		      io_task->pwrb_handle->nxt_wrb_index);
 | 
							      io_task->pwrb_handle->nxt_wrb_index);
 | 
				
			||||||
	be_dws_le_to_cpu(pwrb, sizeof(struct iscsi_wrb));
 | 
						be_dws_le_to_cpu(pwrb, sizeof(struct iscsi_wrb));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue