[sheepdog] [PATCH] bs_sheepdog.c: fix error handling issue in bs_sheepdog_request()

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Nov 1 01:46:18 CET 2013


On Thu, 31 Oct 2013 22:36:04 +0900
Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp> wrote:

> bs_sheepdog_request function, the request handler of sheepdog driver,
> doesn't set scsi status code if the driver failed to create writable
> VDI from snapshot.
> 
> In that case, CHECK_CONDITION result code should be set to cmd->result
> through scsi_set_result() macro.  This fix corrects the error
> handling issue.
> 
> Signed-off-by: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> ---
>  usr/bs_sheepdog.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied.



More information about the sheepdog mailing list