diff options
author | Andy Grover <agrover@redhat.com> | 2014-05-14 15:48:06 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-05-15 17:09:17 -0700 |
commit | 07b8dae38b09bcfede7e726f172e39b5ce8390d9 (patch) | |
tree | 6a628397c3e6f73f0fe2d7cdf9e4c7231ddcac40 /drivers/rpmsg | |
parent | 52d0aa7980cfee85c831b2969e659055395386d4 (diff) | |
download | linux-07b8dae38b09bcfede7e726f172e39b5ce8390d9.tar.bz2 |
target: Don't allow setting WC emulation if device doesn't support
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>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions