commit | c682adf3e1176095a665716a0b62fead8f4b8f5c | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 01 16:51:02 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon May 19 12:33:41 2014 +0200 |
tree | 673170d74351781c848f0436fc545e7e12a535f8 | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c [diff] |
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 <hch@lst.de> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>