summaryrefslogtreecommitdiff
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2005-02-18 05:49:44 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-02-18 05:49:44 -0500
commite6d5599d3133349fd48df369cb9626dfedbc2929 (patch)
tree1aaf1505c6322f865252f230b71e31c77ef6eee9 /include/linux/sysctl.h
parent999471bf6f62c18a4c67b8ff68aaea27ddef17b9 (diff)
[PATCH] libata: fix command queue leak when xlat_func fails
ata_scsi_translate allocates from the libata command queue by calling ata_scsi_qc_new. If xlat_func returns non-zero, control jumps to err_out which fails to free the allocated command. Fix is to add a new API to free unused commands. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux/sysctl.h')
0 files changed, 0 insertions, 0 deletions