From: Christoph Hellwig Date: Thu, 1 May 2014 14:51:02 +0000 (+0200) Subject: scsi: explicitly release bidi buffers X-Git-Tag: omap-for-v3.16/fixes-against-rc1~75^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c682adf3e1176095a665716a0b62fead8f4b8f5c;p=pandora-kernel.git scsi: explicitly release bidi buffers Instead of trying to guess when we have a BIDI buffer in scsi_release_buffers add a function to explicitly free the BIDI ressoures in the one place that handles them. This avoids needing a special __scsi_release_buffers for the case where we already have freed the request as well. Signed-off-by: Christoph Hellwig Reviewed-by: Mike Christie --- Reading git-diff-tree failed