From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754008AbbGVWHR (ORCPT ); Wed, 22 Jul 2015 18:07:17 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:33556 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753163AbbGVWHN (ORCPT ); Wed, 22 Jul 2015 18:07:13 -0400 Message-ID: <55B01410.5040002@kernel.dk> Date: Wed, 22 Jul 2015 16:07:12 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Tejun Heo CC: linux-kernel@vger.kernel.org Subject: Re: [PATCH block/for-linus] blkcg: fix gendisk reference leak in blkg_conf_prep() References: <20150722220553.GO15934@mtj.duckdns.org> In-Reply-To: <20150722220553.GO15934@mtj.duckdns.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/22/2015 04:05 PM, Tejun Heo wrote: > When a blkcg configuration is targeted to a partition rather than a > whole device, blkg_conf_prep fails with -EINVAL; unfortunately, it > forgets to put the gendisk ref in that case. Fix it. Applied, thanks. -- Jens Axboe