FreeBSD Bugzilla – Attachment 160309 Details for
Bug 202625
[cam][libcam][patch] PERSISTENT RESERVE OUT needs scsi_cmd->length to be populated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch scsi_all.c and scsi_all.h
cam.patch (text/plain), 737 bytes, created by
niakrisn
on 2015-08-24 17:37:45 UTC
(
hide
)
Description:
patch scsi_all.c and scsi_all.h
Filename:
MIME Type:
Creator:
niakrisn
Created:
2015-08-24 17:37:45 UTC
Size:
737 bytes
patch
obsolete
>--- sys/cam/scsi/scsi_all.c.orig 2015-08-24 15:03:35.000000000 +0300 >+++ sys/cam/scsi/scsi_all.c 2015-08-24 15:04:55.000000000 +0300 >@@ -8340,6 +8340,7 @@ > scsi_cmd->opcode = PERSISTENT_RES_OUT; > scsi_cmd->action = service_action; > scsi_cmd->scope_type = scope | res_type; >+ scsi_ulto2b(dxfer_len, scsi_cmd->length); > > cam_fill_csio(csio, > retries, > >--- sys/cam/scsi/scsi_all.h.orig 2015-08-24 15:03:56.000000000 +0300 >+++ sys/cam/scsi/scsi_all.h 2015-08-24 15:04:55.000000000 +0300 >@@ -400,8 +400,8 @@ > #define SPR_TYPE_EX_AC_RO 0x06 > #define SPR_TYPE_WR_EX_AR 0x07 > #define SPR_TYPE_EX_AC_AR 0x08 >- u_int8_t reserved[2]; >- u_int8_t length[4]; >+ u_int8_t reserved[4]; >+ u_int8_t length[2]; > u_int8_t control; > }; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202625
: 160309