https://github.com/torvalds/linux
Revision 07b8dae38b09bcfede7e726f172e39b5ce8390d9 authored by Andy Grover on 14 May 2014, 22:48:06 UTC, committed by Nicholas Bellinger on 16 May 2014, 00:09:17 UTC
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>
1 parent 52d0aa7
History
Tip revision: 07b8dae38b09bcfede7e726f172e39b5ce8390d9 authored by Andy Grover on 14 May 2014, 22:48:06 UTC
target: Don't allow setting WC emulation if device doesn't support
Tip revision: 07b8dae
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 271.4 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top