Home
last modified time | relevance | path

Searched hist:"8 d2ac857a81d5a44b9643038291ea958bbf05c7f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dsr_ioctl.cdiff 8d2ac857a81d5a44b9643038291ea958bbf05c7f Fri Dec 04 10:48:49 CST 2020 Sebastian Andrzej Siewior <bigeasy@linutronix.de> sr: Switch the sector size back to 2048 if sr_read_sector() changed it.

sr_read_sector() is hardly used since v2.3.16. Its only purpose is to
check if it is a XA medium via sr_is_xa(). This check is only enabled if
the module parameter `xa_test' is enabled.

Change the sector size back to 2048 if it was changed. With this change,
there is no lazy sector size changing left.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>