summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2019-05-20 16:57:18 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-05-20 16:57:18 +0200
commit8acf608e602f6ec38b7cc37b04c80f1ce9a1a6cc (patch)
tree231add4abc463d299029c82bc4c2d9c54330085a /drivers/scsi/bnx2fc
parentscsi: bnx2fc: fix incorrect cast to u64 on shift operation (diff)
downloadlinux-8acf608e602f6ec38b7cc37b04c80f1ce9a1a6cc.tar.xz
linux-8acf608e602f6ec38b7cc37b04c80f1ce9a1a6cc.zip
Revert "scsi: sd: Keep disk read-only when re-reading partition"
This reverts commit 20bd1d026aacc5399464f8328f305985c493cde3. This patch introduced regressions for devices that come online in read-only state and subsequently switch to read-write. Given how the partition code is currently implemented it is not possible to persist the read-only flag across a device revalidate call. This may need to get addressed in the future since it is common for user applications to proactively call BLKRRPART. Reverting this commit will re-introduce a regression where a device-initiated revalidate event will cause the admin state to be forgotten. A separate patch will address this issue. Fixes: 20bd1d026aac ("scsi: sd: Keep disk read-only when re-reading partition") Cc: <stable@vger.kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions