Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3779025pxb; Wed, 13 Oct 2021 12:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ9i/clbCMJ6sxOZbzrLH9xvRW2jvC8uwXWBrfaRFn448C7MJtejaDfCat+YtQhivPDoF9 X-Received: by 2002:a05:6a00:d63:b0:44d:186d:c4c0 with SMTP id n35-20020a056a000d6300b0044d186dc4c0mr1259253pfv.47.1634154420210; Wed, 13 Oct 2021 12:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634154420; cv=none; d=google.com; s=arc-20160816; b=mZ0tsNY58evw5XI72PXCD8IQJys9My8ahWkk9m+oRJaHBDi32mAbzjEgy+nENI4ArO NpGFjaZA942MLqoOHU5O8mJfCIWeXy4ZLrN4fktLjGdRqyPxLtxXewEw2sumKKJCTUi5 K0LBggPfY4ZNFEt8VXM1xzovERd8CcdiqbTb9B467Ulbfuma2//YaCCs2inqepSl6BBd GYYw06Orahqn9fr1GJMxFuLP2pz9csPznGHLU6zDu0OjWFDI6DXl725/baHTuCfKdkEg 087wPeFIBEOTin/rM5NTiMOcigQKr7xHGOyqTWGH8E4WBKh85hiHRVYTTElwEPKgnT2l 8/GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=jxDGGUKnrWj4ICV0qbo8vvkeOU7nrZ+YCvAHJ0uOtGY=; b=sObuCf4n/+MkLEnI88NAcM6V6cyNnhlrtFrh+k5LjVpaypcKssFnpzO7ZI2RlfFt/t H1zb3TneXJDXeWRVpXmuOn75BJoLntC4AUOh4iu/BUyYpqNSpjFojRBEg0/bwwOAgkdH aUx65V1Q5sozty32BvH49CmwwGsWdeXBfdtBoGGq6R79NzGXg8pZf8btMAU/Lw8e3TqK BfcMS3kgWhAe3tiMcAG2mYc59XPk5yw/bygcbCsn0k8ahEztPaBh17gTlujPCseHsPcl 2FClJaowBpQsaa5rgLJhrm29WeVmfdalyvTYx63UY5jBiV4rZLaiz9ARrl51l2sbZ9zy 2sZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si559818pgp.636.2021.10.13.12.46.39; Wed, 13 Oct 2021 12:47:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239064AbhJMTrJ (ORCPT + 99 others); Wed, 13 Oct 2021 15:47:09 -0400 Received: from p3plsmtp03-01-2.prod.phx3.secureserver.net ([72.167.218.213]:38221 "EHLO p3plwbeout03-01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239091AbhJMTrG (ORCPT ); Wed, 13 Oct 2021 15:47:06 -0400 X-Greylist: delayed 469 seconds by postgrey-1.27 at vger.kernel.org; Wed, 13 Oct 2021 15:47:06 EDT Received: from mailex.mailcore.me ([94.136.40.143]) by :WBEOUT: with ESMTP id ak3omdY9fAz6Eak3pm5vCu; Wed, 13 Oct 2021 12:37:09 -0700 X-CMAE-Analysis: v=2.4 cv=f9qNuM+M c=1 sm=1 tr=0 ts=61673565 a=EhJYbXVJKsomWlz4CTV+qA==:117 a=84ok6UeoqCVsigPHarzEiQ==:17 a=ggZhUymU-5wA:10 a=IkcTkHD0fZMA:10 a=8gfv0ekSlNoA:10 a=FXvPX3liAAAA:8 a=Tqnnkb1RH65CB2acoZsA:9 a=QEXdDO2ut3YA:10 a=SM4aVyO6fsoA:10 a=UxLD5KG5Eu0A:10 a=OunuuIp3J4_2X_e7vt2U:22 a=fDQtvUcBV1mJc6yKnRhE:22 a=UObqyxdv-6Yh2QiB9mM_:22 X-SECURESERVER-ACCT: phillip@squashfs.org.uk X-SID: ak3omdY9fAz6E Received: from 82-69-79-175.dsl.in-addr.zen.co.uk ([82.69.79.175] helo=[192.168.178.33]) by smtp01.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1mak3n-0001YR-Im; Wed, 13 Oct 2021 20:37:07 +0100 Subject: Re: [PATCH 22/29] squashfs: use bdev_nr_sectors instead of open coding it To: Christoph Hellwig , Jens Axboe Cc: Coly Li , Mike Snitzer , Song Liu , David Sterba , Josef Bacik , Theodore Ts'o , OGAWA Hirofumi , Dave Kleikamp , Ryusuke Konishi , Anton Altaparmakov , Konstantin Komarov , Kees Cook , 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 References: <20211013051042.1065752-1-hch@lst.de> <20211013051042.1065752-23-hch@lst.de> From: Phillip Lougher Message-ID: Date: Wed, 13 Oct 2021 20:37:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211013051042.1065752-23-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Mailcore-Auth: 439999529 X-Mailcore-Domain: 1394945 X-123-reg-Authenticated: phillip@squashfs.org.uk X-Originating-IP: 82.69.79.175 X-CMAE-Envelope: MS4xfFrZxbO/beudXVK+k348YaOsgLpyM0oiX7vy3T2vdf6cMdxBvuDIJcwDSpUYM46ogkN3S4RImkjKsb8tmqWDCcr5YgjMN/vX4HsIdH3ryVZLh76/+YzJ m5tMngzmDjcksMzYOOLrfQkQroaXIGYzCaamU+/zt8cXNEY1OBqKgHzF8pT9PFteDEj1Fztk/eS2s4AzhUCnu2emOt91lLStlqOP/I3qNfhEfRXFNSHr2s+5 ZSvLnfpIUCQD7nBowOKy6w== Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 13/10/2021 06:10, Christoph Hellwig wrote: > Use the proper helper to read the block device size. > > Signed-off-by: Christoph Hellwig Acked-by: Phillip Lougher