projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6764359
)
target: Fix page length in emulated INQUIRY VPD page 86h
author
Roland Dreier
<roland@purestorage.com>
Tue, 22 Nov 2011 21:51:34 +0000
(13:51 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 21 Dec 2011 20:58:30 +0000
(12:58 -0800)
commit
1289a0571c037b4757f60597d646aedb70361ec3
upstream.
The LSB of the page length is at offset 3, not 2.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/target/target_core_cdb.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_cdb.c
b/drivers/target/target_core_cdb.c
index f04d4ef99dca00893761a3fe7c3b93c9dd6ba519..5f91397f60176a52ddb3585e3fcc16a7246a08ef 100644
(file)
--- a/
drivers/target/target_core_cdb.c
+++ b/
drivers/target/target_core_cdb.c
@@
-477,7
+477,7
@@
target_emulate_evpd_86(struct se_cmd *cmd, unsigned char *buf)
if (cmd->data_length < 60)
return 0;
- buf[
2
] = 0x3c;
+ buf[
3
] = 0x3c;
/* Set HEADSUP, ORDSUP, SIMPSUP */
buf[5] = 0x07;