Skip to content

Commit 93ab8c8

Browse files
Hannes Reineckemartinkpetersen
authored andcommitted
scsi: core: reshuffle no_scsi2_lun_in_cdb for better alignment
no_scsi2_lun_in_cdb declares a new bitfield, but we should rather move it to the existing bitfield for better alignment. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent d095986 commit 93ab8c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/scsi/scsi_host.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ struct Scsi_Host {
628628
/* Host responded with short (<36 bytes) INQUIRY result */
629629
unsigned short_inquiry:1;
630630

631+
/* The transport requires the LUN bits NOT to be stored in CDB[1] */
632+
unsigned no_scsi2_lun_in_cdb:1;
633+
631634
/*
632635
* Optional work queue to be utilized by the transport
633636
*/
@@ -639,9 +642,6 @@ struct Scsi_Host {
639642
*/
640643
struct workqueue_struct *tmf_work_q;
641644

642-
/* The transport requires the LUN bits NOT to be stored in CDB[1] */
643-
unsigned no_scsi2_lun_in_cdb:1;
644-
645645
/*
646646
* Value host_blocked counts down from
647647
*/

0 commit comments

Comments
 (0)