From: Tejun Heo Date: Mon, 23 Jan 2006 04:09:36 +0000 (+0900) Subject: [PATCH] libata: make the owner of a qc responsible for freeing it X-Git-Tag: v2.6.17-rc1~1182^2~122 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77853bf2b48e34449e826a9ef4df5ea0dbe947f4;p=pandora-kernel.git [PATCH] libata: make the owner of a qc responsible for freeing it qc used to be freed automatically on command completion. However, as a qc can carry information about its completion status, it can be useful to its owner/issuer after command completion. This patch makes freeing qc responsibility of its owner. This simplifies ata_exec_internal() and makes command turn-around for atapi request sensing less hackish. This change was originally suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed