diff options
author | 2017-10-11 05:54:23 +0900 | |
---|---|---|
committer | 2017-10-16 23:54:32 -0400 | |
commit | 5eed92d173e0bf695c690d6b903441bde36879fb (patch) | |
tree | 9b8db55f4b068c6f89223465a2dec711259f5646 /drivers/scsi/scsi_error.c | |
parent | scsi: sd_zbc: Fix comments and indentation (diff) | |
download | wireguard-linux-5eed92d173e0bf695c690d6b903441bde36879fb.tar.xz wireguard-linux-5eed92d173e0bf695c690d6b903441bde36879fb.zip |
scsi: sd_zbc: Rearrange code
Rearrange sd_zbc_setup() to include use_16_for_rw and use_10_for_rw
assignments and move the calculation of sdkp->zone_shift together with
the assignment of the verified zone_blocks value in
sd_zbc_check_zone_size().
No functional change is introduced by this patch.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions