From: Krzysztof Mazur Date: Wed, 27 Mar 2013 12:51:14 +0000 (+0100) Subject: [libata] Fix HDIO_DRIVE_* ioctl() Linux 3.9 regression X-Git-Tag: v3.9-rc7~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3bfc7be6f80d0c6ee6800d58d573343bf6e260;p=pandora-kernel.git [libata] Fix HDIO_DRIVE_* ioctl() Linux 3.9 regression On Mon, Mar 25, 2013 at 06:26:50PM +0100, Ronald wrote: > In reply to [1]: I have the same issue. Git bisect took 50+ rebuilds xD > > Smartd does not work anymore since 84a9a8cd9 ([libata] Set proper SK > when CK_COND is set.). > [1] http://www.spinics.net/lists/linux-ide/msg45268.html It seems that the SAM_STAT_CHECK_CONDITION is not cleared causing -EIO, because that patch modified sensebuf and the check for clearing SAM_STAT_CHECK_CONDITION is no longer valid. Fix that. Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed