Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754589AbbLVMoD (ORCPT ); Tue, 22 Dec 2015 07:44:03 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:32814 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958AbbLVMoA (ORCPT ); Tue, 22 Dec 2015 07:44:00 -0500 Subject: Re: [PATCH] lightnvm: unlock rq and free ppa_list after submission failed To: Wenwei Tao References: <1450683132-355-1-git-send-email-ww.tao0320@gmail.com> <5677E0F8.3020008@lightnvm.io> Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <5679458D.1070008@lightnvm.io> Date: Tue, 22 Dec 2015 13:43:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 620 Lines: 13 > When rrpc_write_ppalist_rq and rrpc_read_ppalist_rq succeed, we setup > rq correctly, but nvm_submit_io failed due to cannot allocate request > or nvme_nvm_command, we return error but forget to do the cleanup job > this patch mentioned. Thanks. I've included that explanation instead for the commit message. I've applied it for 4.5 (together with your previous patch). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/