Re: [PATCH] fix three bugs in startstopunit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Jul 2012 10:26:11 +1000
ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> From 32105d5a1cd0ab940be54f1e16560dd4ccfa5e10 Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> Date: Tue, 17 Jul 2012 10:23:21 +1000
> Subject: [PATCH] STARTSTOPUNIT bugfixes
> 
> If power condition != 0  then we should ignore LOEJ and START bits
> and not do any online/offline operations.
> 
> Fix the check for LOEJ and make sure this flag is set to 0 or 1, not 0 or 2.
> 
> Check that the removable attribute is set. We should not call
> online/offline for non-removable luns
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> ---
>  usr/spc.c |   14 +++++++++-----
>  1 files changed, 9 insertions(+), 5 deletions(-)

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux