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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70799C433EF for ; Wed, 13 Oct 2021 16:43:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59FFE60E54 for ; Wed, 13 Oct 2021 16:43:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234044AbhJMQpU (ORCPT ); Wed, 13 Oct 2021 12:45:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:55105 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232840AbhJMQpT (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-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-xhcS-IT8P0-Wt3rvDy2Mww-1; Wed, 13 Oct 2021 12:43:14 -0400 X-MC-Unique: xhcS-IT8P0-Wt3rvDy2Mww-1 Received: by mail-qt1-f197.google.com with SMTP id 12-20020aed208c000000b002a78b33ad97so2458422qtb.23 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=KNabHyB/dbSqUxs0e3ef9wVeiB/h5SxZkeS4YzWnlpddWqAqa/pppP1mBTZ+BNcK2k ag44WZlYwMwESwpXw1vfq5PasbGgADp2Yok0oQK2Xi/ZSXsBicPF6HldegOdx6mUyNZI sSRLxE+b8hypwqp0Vep9CbywrU3Q9IXRneDX9GlyDhhMl1OUfhK686no9zzHyCq5TaQ/ r7NghIatTxJ6s9ez6hav9ApBkUJ26Etdehy1JQy1VUH8yTnR1ere4JN/jrxkorF+QoFR raN+IpjVlJdvGC1BrGeyff4dpmCBbh+bWu6NldhDUE08LeMVZguByaWYIZmpDb0iRVmm fTDQ== X-Gm-Message-State: AOAM5319hP7D75IKuQZudyUCDiyhNLGessDcsLssLM2+VsSsKte7/B19 RBrJF+mq96zXPWmhFoedtQLp2+j0/l0mKfv0qHta0GfQvqEOM+saTbWISIT6mFBJlkMeEux9Q0K P3o75QUua+e4VmW0x3Rt7Tw== X-Received: by 2002:ac8:7d02:: with SMTP id g2mr450213qtb.66.1634143393833; Wed, 13 Oct 2021 09:43:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4uQGBl82DdkygPL4oygkwPDtljuRYBV8+ESqW4tKnOahM7pZ+SYljUTQ3BKpa4FdVi33PjA== 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-btrfs@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