• Tejun Heo's avatar
    libata: update atapi disable handling · 2486fa56
    Tejun Heo authored
    Global and per-LLD ATAPI disable checks were done in the command issue
    path probably because it was left out during EH conversion.  On
    affected machines, this can cause lots of warning messages.  Move them
    to where they belong - the probing path.
    
    Reported by Chunbo Luo.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Chunbo Luo <chunbo.luo@windriver.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    2486fa56
libata.h 8.33 KB