diff options
author | delphij <delphij@FreeBSD.org> | 2012-11-02 22:07:45 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-11-02 22:07:45 +0000 |
commit | b683696bb32f0a9cf874fc7bf2aaa8925cc01948 (patch) | |
tree | 4b2db55af12b88b2a84b465bc51c2cfd1e054af2 /lib/libgssapi/gss_add_oid_set_member.c | |
parent | 507fc675c41b127e933078d9cf3b760c3fa5ba39 (diff) | |
download | FreeBSD-src-b683696bb32f0a9cf874fc7bf2aaa8925cc01948.zip FreeBSD-src-b683696bb32f0a9cf874fc7bf2aaa8925cc01948.tar.gz |
Copy code from scsi_read_write() as mfi_build_syspd_cdb() to build SCSI
command properly. Without this change, mfi(4) always sends 10 byte READ
and WRITE commands, which will cause data corruption when device is
larger than 2^32 sectors.
PR: kern/173291
Submitted by: Steven Hartland <steven.hartland multiplay.co.uk>
Reviewed by: mav
MFC after: 2 weeks
Diffstat (limited to 'lib/libgssapi/gss_add_oid_set_member.c')
0 files changed, 0 insertions, 0 deletions