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 9ADBEC433F5 for ; Wed, 13 Oct 2021 19:45:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8075061168 for ; Wed, 13 Oct 2021 19:45:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239055AbhJMTrJ (ORCPT ); Wed, 13 Oct 2021 15:47:09 -0400 Received: from p3plsmtp21-04-2.prod.phx3.secureserver.net ([68.178.252.50]:47788 "EHLO p3plwbeout21-04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239083AbhJMTrG (ORCPT ); Wed, 13 Oct 2021 15:47:06 -0400 Received: from mailex.mailcore.me ([94.136.40.142]) by :WBEOUT: with ESMTP id ak3omjDKHKGPkak3pmnHYE; Wed, 13 Oct 2021 12:37:09 -0700 X-CMAE-Analysis: v=2.4 cv=fdBod2cF c=1 sm=1 tr=0 ts=61673565 a=s1hRAmXuQnGNrIj+3lWWVA==: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: ak3omjDKHKGPk 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: MS4xfHPsX/1rYw4coWDR/Lz29i3Qx4G0jysGeBfLoZNU4N6/y80LZ4snm6Fy5VGG3Ekx8hZg+gklb+yS0Pi6l84l9CFr5oRE/D6kJWA8ymeHfsphRNtDryyT oIh8NUWjpLAhOlBVQ4/LzuGTPFwR4QyuHc9XOD174ih59wml5x9C+ThTjPJJNBFNR4clOQwpq9pZ/RnoylAdt1ezfeGZF7TOVjHLNu1q3dbH5ESVNgYHfPoq +Yd98CjNpgKY0MPvmCcE6g== Precedence: bulk List-ID: X-Mailing-List: linux-bcache@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