From: Nicholas Bellinger Date: Sat, 14 Feb 2015 01:56:19 +0000 (+0000) Subject: target: Fail WRITE_SAME w/ UNMAP=1 when emulate_tpws=0 X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~13^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a91295557666f9e58b79b5177a98229007803b;p=pandora-kernel.git target: Fail WRITE_SAME w/ UNMAP=1 when emulate_tpws=0 This patch adds a check within sbc_setup_write_same() to fail a WRITE_SAME w/ UNMAP=1 op, if the backend device has emulate_tpws disabled. Cc: Martin Petersen Cc: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed