Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3631284pxb; Wed, 13 Oct 2021 09:43:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHu6hBkOPCH9Z6uzKqkDNNjxJTnH4ZHpP5Zw28y+kFkMDe6nYaLWztLP+v0SzfWdTQzwpe X-Received: by 2002:a63:9245:: with SMTP id s5mr202064pgn.4.1634143433281; Wed, 13 Oct 2021 09:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634143433; cv=none; d=google.com; s=arc-20160816; b=e/OzWmVestGbna0BU3jCFOWo8GKxfhbk4PN2LzCHf//tfcDa0cePxSfBa3Hs/Ev1YM RJMqurC/HlRzgBRichL3XJmMBESWjvokkb1Tko6Hwh0HLlbuerT82GRLMu6tbQcNt/oT GahvOpNvjfzyodOZ54D4vZMGf/2tSrW3IBicDwmULBcfgWW9HfeSwHih9kNQk6EnsQqC f3WhEE54YnKk8XghmUB8n7yyTBm0N6XX4k9M/4QhC9KHyb90wOyXib21Xw7CdtRUgLs2 GoY99e5jtaS+vWocwLAyNFkfh6fUNUd+M+RRYU7jMDuvdfqbEIgnUXCCwb8w70FUuVn9 pPrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DvE9A+LL2XADoLsMv/QT6HGglilUC7cXAXtJNsfa8lA=; b=zjW8wYmkOJRj1fbGlRzI1M2G2VaHLbZUqg7DVDlAu/aeHUL5ej/phdWO2/Gi4XwiTy NZ23MHRr/0RgLzY+zv0b76fC+5mZ2kk9gT5jvavWW0miD+4Dl2A0efN3gZkcW+WzaCUi xVvbURZ5vMPjlienx95k1ONNvtGzDB9KymYda13ERYue/GpXbLPyJ/mOwsGCg6+N4Mpq PvJlMwD1mySPlkpf5tu+Gdo7cq0hu4GdGhVu1TEqKtB16UqmlfLOmM7ldrzJE48UcHX4 gM/CibrYbNxVs6ZirXh8Om2OYXhM9llp0PSsb76T+Pal9Gw8rK2w3VU9k7RcSEcE/wp0 YkSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IIypTiFY; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si13574pgv.205.2021.10.13.09.43.27; Wed, 13 Oct 2021 09:43:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IIypTiFY; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232459AbhJMQpU (ORCPT + 99 others); Wed, 13 Oct 2021 12:45:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:31671 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233848AbhJMQpT (ORCPT ); Wed, 13 Oct 2021 12:45:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634143395; 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=DvE9A+LL2XADoLsMv/QT6HGglilUC7cXAXtJNsfa8lA=; b=IIypTiFYhWCZbUSA7VEpUQlZe+SKXR1aCyCxIeoqcvY99VskuswRyMMy2b0K556uJIiCjv Ox6qgb6HttmrXI9seTaJDYkZUlW9UeyOf+kL7QD/bz8MJ74DIoTbmWfaHbeNmatD8nYYnh K+JHChfxdua7U/XCkmmnTUNapGNrs3s= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-103-qE-UP0kDOj604V-kZ_9BnQ-1; Wed, 13 Oct 2021 12:43:14 -0400 X-MC-Unique: qE-UP0kDOj604V-kZ_9BnQ-1 Received: by mail-qt1-f198.google.com with SMTP id l14-20020ac8458e000000b002a7829805b8so2467218qtn.22 for ; Wed, 13 Oct 2021 09:43:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DvE9A+LL2XADoLsMv/QT6HGglilUC7cXAXtJNsfa8lA=; b=IoIdrMo0QUaMb7sWg8umPzmrPrlyQWQPA0+UGB/1bDMbs52RgHPFv7OUBsW4ymT+Qg 7ybs15wbe/d9a0RQfNfa4TS69PmE6zp+wX8xlB8Utx18vlkJl3Se9gzlPU/bv3uMHHJg iU2/T1TMXyHGQUN97nKXMtMyJJjN4b12kcKpGj/fpO55q46nIqDw/VvbZeo3WUwPtoBm VgfSOUa6blaoJJ8h/l5f7dTm27t/E0+Q5+IKvpbZRL+OTnXdUsHqcxRMqZu192vWeqJl nMPJNKYgRtjnaQMdCXifu8FO9UapW0sK9P2fnGwXWFDI/x4+oBOzRdeCdpgRcvv3E1Zk irNA== X-Gm-Message-State: AOAM530opWFw3GtU9adOkMVOBzZnIvLk3yw4Jbw41DD+YjH4OSLFEEel ZKO7ejWdixs3FRxrKSwELBGD17UwWoINXdW/iLHs3yGeFYxMoWpgIIvXrB7qDrV5QnrTvY2y+L0 9+QBX1tUTqItguyFYYfK2 X-Received: by 2002:ac8:7d02:: with SMTP id g2mr450199qtb.66.1634143393827; Wed, 13 Oct 2021 09:43:13 -0700 (PDT) X-Received: by 2002:ac8:7d02:: with SMTP id g2mr450159qtb.66.1634143393507; Wed, 13 Oct 2021 09:43:13 -0700 (PDT) Received: from localhost ([45.130.83.141]) by smtp.gmail.com with ESMTPSA id q14sm77870qtl.73.2021.10.13.09.43.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 09:43:13 -0700 (PDT) Date: Wed, 13 Oct 2021 12:43:12 -0400 From: Mike Snitzer To: Christoph Hellwig Cc: Jens Axboe , Coly Li , David Sterba , Josef Bacik , Theodore Ts'o , OGAWA Hirofumi , Ryusuke Konishi , Anton Altaparmakov , Konstantin Komarov , Kees Cook , Phillip Lougher , Jan Kara , linux-block@vger.kernel.org, dm-devel@redhat.com, drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-mtd@lists.infradead.org, linux-nvme@lists.infradead.org, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, jfs-discussion@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, ntfs3@lists.linux.dev, reiserfs-devel@vger.kernel.org Subject: Re: [PATCH 03/29] dm: use bdev_nr_sectors instead of open coding it Message-ID: References: <20211013051042.1065752-1-hch@lst.de> <20211013051042.1065752-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013051042.1065752-4-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Oct 13 2021 at 1:10P -0400, Christoph Hellwig wrote: > Use the proper helper to read the block device size. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer