Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1197365pxk; Fri, 4 Sep 2020 03:22:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg29r6dHwPtS1TTxadJYv88Db+OTWKXvy53jlHxX5NdfkDzs8wlIU5C+uJNl/Z6owdbGxv X-Received: by 2002:a50:ce06:: with SMTP id y6mr6798147edi.273.1599214935173; Fri, 04 Sep 2020 03:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599214935; cv=none; d=google.com; s=arc-20160816; b=Y6vWS392p4N5Ax8p98PRTfyQdTZgM0JX1BrfiA8Hqg/SeA8yuLqAWqZPDpVvucAJtI o+RCOnZzi2BIMtgv5rWK5AZDvDuGuyAkpj2J/bmvwX6hg+VgbzI/XWf1kO9VqZkqamxS FjghDX+p8Jn9ayHoV81u6+WcmNOHovJ9v0mtDw5L6I6+kI0bqRHFT1WgikY/OZUAXmLN 6O2HRSmfdhVbYM6o16pbA+LdqEuR+4wEvXpq9TULWLI/WJCq2GPa6pelUbezo2gsq6UL 4Ldni2RmZ2lnf2pIrSiK/YZX49un1lmOVWAs0SniZvxYp6wI7zsCn0yDyPfMtyP27Fne Ee3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=o4ye/kzJxEeCuXXapTWe2zGIIov0ztX/AxbbbHgTJYI=; b=GOyO7UQukxZDZDsfNGq+QMWwxwrbbDMstfSFtMGaUzytNfwHN8mI+IZVf9bxYkg2HD z0Y1uy6FnmE+N7hkOsgMNN5SVVrEmFi7l77q9zGHwbRAJXKbSH/8+rHpFMIHa8LyaseX Xfh+r1GNCvuNMenXFHqgI6jZlwqZOTQGu8qjRs7qQQVJOoEiXJnqFdSH2vwb58CCDPLP Z6IclB/Fp0C/B9HCDwqtv44yZlolL2fyqIs0YAYS3NZbb/7G8A4ar3VW//8SK8GuFQ/4 4YQ44Kp2mEA9wQPxCBkhQpAWYRq7WEhT2Z9YfUjFwIKIUeskhB5q1gjx1OWDlFMh/Dw1 OpKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si4080026ejk.471.2020.09.04.03.21.52; Fri, 04 Sep 2020 03:22:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729998AbgIDKSp (ORCPT + 99 others); Fri, 4 Sep 2020 06:18:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:60232 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729954AbgIDKSU (ORCPT ); Fri, 4 Sep 2020 06:18:20 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9D652AEBF; Fri, 4 Sep 2020 10:18:19 +0000 (UTC) Subject: Re: [PATCH 03/19] block: cleanup del_gendisk a bit To: Christoph Hellwig , Jens Axboe Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Song Liu , Al Viro , Finn Thain , Michael Schmitz , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org References: <20200903080119.441674-1-hch@lst.de> <20200903080119.441674-4-hch@lst.de> From: Hannes Reinecke Message-ID: <46d2955e-64a7-6079-84a4-e253b9d7a5cb@suse.de> Date: Fri, 4 Sep 2020 12:18:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200903080119.441674-4-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/20 10:01 AM, Christoph Hellwig wrote: > Merge three hidden gendisk checks into one. > > Signed-off-by: Christoph Hellwig > --- > block/genhd.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer