diff options
| author | 2025-08-27 19:35:50 +0800 | |
|---|---|---|
| committer | 2025-08-30 21:46:21 -0400 | |
| commit | 708e2371f77a9d3f2f1d54d1ec835d71b9d0dafe (patch) | |
| tree | 5960ca6a79445776a5a710a1df7987d455146399 /rust/helpers/helpers.c | |
| parent | scsi: lpfc: Fix buffer free/clear order in deferred receive path (diff) | |
| download | linux-rng-708e2371f77a9d3f2f1d54d1ec835d71b9d0dafe.tar.xz linux-rng-708e2371f77a9d3f2f1d54d1ec835d71b9d0dafe.zip | |
scsi: sr: Reinstate rotational media flag
Reinstate the rotational media flag for the CD-ROM driver. The flag has
been cleared since commit bd4a633b6f7c ("block: move the nonrot flag to
queue_limits") and this breaks some applications.
Move queue limit configuration from get_sectorsize() to
sr_revalidate_disk() and set the rotational flag.
Cc: Christoph Hellwig <hch@lst.de>
Fixes: bd4a633b6f7c ("block: move the nonrot flag to queue_limits")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250827113550.2614535-1-ming.lei@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
