From: Sagi Grimberg Date: Sun, 19 Apr 2015 17:27:20 +0000 (+0300) Subject: target/file: Remove fd_prot bounce buffer X-Git-Tag: omap-for-v4.2/fixes-rc1^2~8^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8287fa5fb43c3fa05748560b8e13b91c4e88f586;p=pandora-kernel.git target/file: Remove fd_prot bounce buffer The reason this bounce buffer exists is to allow code reuse between rd_mcp and fileio in DIF mode. But the fact is, that this bounce is really not needed at all, we can simply call sbc_dif_verify on cmd->t_prot_sg and use it for file IO. This also removes fd_do_prot_rw as fd_do_rw was generalised to receive file pointer, block size (8 bytes for DIF data) and total data length. (Fix apply breakage from commit c836777 - nab) Tested-by: Akinobu Mita Signed-off-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed