git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d0aa7
)
target: Don't allow setting WC emulation if device doesn't support
author
Andy Grover
<agrover@redhat.com>
Wed, 14 May 2014 22:48:06 +0000
(15:48 -0700)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Fri, 16 May 2014 00:09:17 +0000
(17:09 -0700)
Just like for pSCSI, if the transport sets get_write_cache, then it is
not valid to enable write cache emulation for it. Return an error.
see https://bugzilla.redhat.com/show_bug.cgi?id=1082675
Reviewed-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_device.c
patch
|
blob
|
history
diff --cc
drivers/target/target_core_device.c
Simple merge