]> err.no Git - linux-2.6/commit
[PATCH] libata: don't request sense if the port is frozen
authorTejun Heo <htejun@gmail.com>
Tue, 21 Nov 2006 01:40:51 +0000 (10:40 +0900)
committerTejun Heo <htejun@gmail.com>
Sun, 3 Dec 2006 08:56:23 +0000 (17:56 +0900)
commita569a30d301e4dbc0ad67a211292edece2da1146
tree3c1fcb81485de3c5489c32251e9b671897517f6c
parent6a36261e63770ab61422550b774fe949ccca5fa9
[PATCH] libata: don't request sense if the port is frozen

If EH command is issued to a frozen port, it fails with AC_ERR_SYSTEM.
libata used to request sense even when the port is frozen needlessly
adding AC_ERR_SYSTEM to err_mask.  Don't do it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/ata/libata-eh.c