From 6054c824903e530ab5ed0d85d22c98f95bcd7eef Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 6 Jan 2013 13:44:32 +0000 Subject: [PATCH] iscsi-scst: With CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION disabled destroy the iscsi_cmnd_abort_mempool if initialization fails (merge r4208 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4702 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index c518b9daf..70aff92af 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -4160,8 +4160,8 @@ out_callb: net_set_get_put_page_callbacks(NULL, NULL); out_destroy_mempool: - mempool_destroy(iscsi_cmnd_abort_mempool); #endif + mempool_destroy(iscsi_cmnd_abort_mempool); out_free_dummy: __free_pages(dummy_page, 0);