diff options
| author | Damien Le Moal <[email protected]> | 2023-11-06 04:00:49 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2023-11-07 23:53:55 +0000 |
| commit | fd3a6837d8e18cb7be80dcca1283276290336a7a (patch) | |
| tree | 023644b30330ca1761373cb29a8f693b3f5d31bf /lib/memory-notifier-error-inject.c | |
| parent | Merge tag 'vfs-6.7.fsid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs... (diff) | |
| download | kernel-fd3a6837d8e18cb7be80dcca1283276290336a7a.tar.gz kernel-fd3a6837d8e18cb7be80dcca1283276290336a7a.zip | |
ata: libata-core: Fix ata_pci_shutdown_one()
This reverts commit 5b6fba546da246b3d0dd8465c07783e22629cc53.
Commit 5b6fba546da2 ("ata: libata-core: Detach a port devices on
shutdown") modified the function ata_pci_shutdown_one() to stop
(suspend) devices attached to the ports of a PCI AHCI adapter to ensure
that drives are spun down before shutting down a system. However, this
is done only for PCI adapters and not for other types of adapters. This
limitation was addressed with commit 24eca2dce0f8 ("scsi: sd: Introduce
manage_shutdown device flag"). With this, all ATA disks are spun down on
system shutdown, which make the changes introduced with 5b6fba546da2
useless.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
