Updated to 2.6.32.27
/block/bsg.c
blob:0676301f16d0a619bd76261ebb5560040ce1a4e9 -> blob:7154a7a7e9ca6240c30ccf4cf5d5213edd3d0c18
--- block/bsg.c
+++ block/bsg.c
@@ -424,7 +424,7 @@ static int blk_complete_sgv4_hdr_rq(stru
/*
* fill in all the output members
*/
- hdr->device_status = status_byte(rq->errors);
+ hdr->device_status = rq->errors & 0xff;
hdr->transport_status = host_byte(rq->errors);
hdr->driver_status = driver_byte(rq->errors);
hdr->info = 0;