mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-02 17:08:56 +00:00
Fix inverted expression to report block size in mode page block descriptor.
This commit is contained in:
parent
c3a05e5422
commit
810a5a5c08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271869
@ -7074,7 +7074,7 @@ ctl_mode_sense(struct ctl_scsiio *ctsio)
|
||||
* descriptor. Otherwise, just set it to 0.
|
||||
*/
|
||||
if (dbd == 0) {
|
||||
if (control_dev != 0)
|
||||
if (control_dev == 0)
|
||||
scsi_ulto3b(lun->be_lun->blocksize,
|
||||
block_desc->block_len);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user