From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A126C47088 for ; Wed, 26 May 2021 02:09:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2CC166128D for ; Wed, 26 May 2021 02:09:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231419AbhEZCK5 (ORCPT ); Tue, 25 May 2021 22:10:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:30674 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230272AbhEZCK5 (ORCPT ); Tue, 25 May 2021 22:10:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621994966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O9O6+5/8MKchtIlmhwEYYkAbdnr4lPjC1tJpR0up8XM=; b=CjcyULr8vXUfC7dGWIiCO/gu2LovbbCsKfZeyHA78GGPdIV2ryoZUu5zFJLdG2NPgWn2Bc wOH7Vrc+i/teHqq/k40SrJv+SonuSJ7EOUT1UbUrqnINWE57aFDycsUwEcYFOq4jYTgi8M jCb3a/Y6XzZUnJJUwA9gXeZbxJy4YIA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-500-8qWJyfyuMSmHGhC0ZNR1hQ-1; Tue, 25 May 2021 22:09:22 -0400 X-MC-Unique: 8qWJyfyuMSmHGhC0ZNR1hQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 49FE5803621; Wed, 26 May 2021 02:09:21 +0000 (UTC) Received: from T590 (ovpn-12-85.pek2.redhat.com [10.72.12.85]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F133B1F0CF; Wed, 26 May 2021 02:09:10 +0000 (UTC) Date: Wed, 26 May 2021 10:09:05 +0800 From: Ming Lei To: Christoph Hellwig Cc: Jens Axboe , Song Liu , Konrad Rzeszutek Wilk , Roger Pau =?iso-8859-1?Q?Monn=E9?= , Minchan Kim , Nitin Gupta , Stefan Haberland , Jan Hoeppner , linux-block@vger.kernel.org, linux-raid@vger.kernel.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 6/8] block: move bd_part_count to struct gendisk Message-ID: References: <20210525061301.2242282-1-hch@lst.de> <20210525061301.2242282-7-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210525061301.2242282-7-hch@lst.de> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Tue, May 25, 2021 at 08:12:59AM +0200, Christoph Hellwig wrote: > The bd_part_count value only makes sense for whole devices, so move it > to struct gendisk and give it a more descriptive name. > > Signed-off-by: Christoph Hellwig > --- Reviewed-by: Ming Lei -- Ming