Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1137079pxb; Sat, 16 Oct 2021 02:40:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbrQhNYaJG4/ymXbNLPkRAhISbbirmKYAQTF7CUR7Tc4RCvO2tZSyREaFcWHsP0SasNJie X-Received: by 2002:a05:6402:11ca:: with SMTP id j10mr25316374edw.223.1634377240701; Sat, 16 Oct 2021 02:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634377240; cv=none; d=google.com; s=arc-20160816; b=ntPM2v0Y1r5kT4dABA196DYK0H7JzqwztvAMwwkIDgdbnCtCUOhBqDtyfC1wQazvs5 ZH+RnXUD2IKXtpLdNIim8ImRrdcxnO7qI47uxMjmBDAbWrY4XSqVQMjtyUsT79NkSMaM PWNz5hnOSRI9cYp81fyYkSOaWSERuDuNqmFZAh1xiqjpVfVsst6CR8Iusu3BlN3Ph2y7 XpLpyDVbQarw4bhor5vzlFE5K4P2quC4dpQKxMFyEXNe6SFJF/PkrcMFA6FJdVQL8pZv vAVAdxfoilJ4I7i9x3piocg+GIGD2yLDSfDzlDl+Vf7x2j1xjy4FJF0oOely0vTPlmcl oJDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ffV9EXIvpsxi/zzat9M/mXqT6D2BowDOkY1JbwoxMOs=; b=rdGNwR2PseMLEp6wgCnlBUUlpEc6vJlukt8Hpf5ZLlA9AHjtwR+4gK8289F2dQJ9N6 Yrox8JUw05BE4WGgEn1zsb8bkvPkEEHqSmiQ2CFW/QKPO8cIZajjy3qdIIfN2hubrSw0 NwhH0t3j7IvQpuMwOTfTQzaf8678S3pHIFM4IGSmr8OjOdXq6Kc3ZZd64B/ole8t9E2i wOesVS5NM6rxABNc3wLzv6ZpmjYj8oo+ztWJXFGZf5/kvPT/t4vSbDqac6GZIUDYo+6Y j0M3YiG9QuVimnUxpy5ZD+JxQAEw9n/X3FAtKg2BI4AoU3cg1GwXczPOzDm5rDT4gNUP +p2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dywwSbIG; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c73si10841530edf.471.2021.10.16.02.40.17; Sat, 16 Oct 2021 02:40:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@gmail.com header.s=20210112 header.b=dywwSbIG; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240156AbhJON4x (ORCPT + 99 others); Fri, 15 Oct 2021 09:56:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234745AbhJON4w (ORCPT ); Fri, 15 Oct 2021 09:56:52 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F5EFC061570; Fri, 15 Oct 2021 06:54:46 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id x192so7077028lff.12; Fri, 15 Oct 2021 06:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ffV9EXIvpsxi/zzat9M/mXqT6D2BowDOkY1JbwoxMOs=; b=dywwSbIGuXR+dXQSROUIhljg5+mHDSiHww9Tc5QE/0KVc6D96c2ocK9S4czPbKsPtz ySNRWdT9ve7V2FStFVRj6GJtI3GsO5QLdZltms855+mPxWEcF0y64BVbP3jeqDvlTRSC Q0SLO0cmgDLKr6f+MZ/VrWRqoygoePpVOM+o8yB+jCv00rDqDRMVdNenYkm3jQj9uL4k E4/MHhOextdkY9W69AUB008H67vZy/HWT7fbCa67+7KfpngwPIaSC4I9QxVoGvAnEL8B uHW/dfm/FieH/pIjg0HJFLHL4EoFbkdCY9X4ZyWcCPHq1gpKkT+6jn/WXPUZSeEosezu YVGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ffV9EXIvpsxi/zzat9M/mXqT6D2BowDOkY1JbwoxMOs=; b=cH13lef4KqU9SDKZFEgeZi63z4fNMgbh5vStQwK4sZYwt0zGaNyd+xgIjvffLYa86i 0Z/k0kv7omqk/BZ5i5GsZQiZOw79OZNhkA8ltj4yiN3aq3RrcveSx1ivkoWhCoZgkV4m Pi7FtDAyzGTEBme4PgcxdR0R2Mz0hL3pc073bRbhoPyUNgHgXbCpSUkcIqWcbERnkqD8 bItN3JaA14OBbtBkaOYdmk6TQywIobJqsMgBhqpbPs66ymRLAgvwgIXpVjaSD/XzacYh 5QW1ZaUrTjXLLYMpbjkf2kkeQ0vdWw9YZZo5BvbXAy0U+JnwsIIECmYCRRjionPTRKFT CzAg== X-Gm-Message-State: AOAM533ogEPwZoV8A2ysBtXBGXpegByQ9sSK/rZ8VQR9JBlVxuXqpLAg KPD0eb2Fp6/qamKsbE8v+GdYPvRjmVMlLPkcI80= X-Received: by 2002:a2e:a170:: with SMTP id u16mr12947954ljl.108.1634306084449; Fri, 15 Oct 2021 06:54:44 -0700 (PDT) MIME-Version: 1.0 References: <20211015132643.1621913-1-hch@lst.de> <20211015132643.1621913-20-hch@lst.de> In-Reply-To: <20211015132643.1621913-20-hch@lst.de> From: Ryusuke Konishi Date: Fri, 15 Oct 2021 22:54:32 +0900 Message-ID: Subject: Re: [PATCH 19/30] nilfs2: use bdev_nr_bytes instead of open coding it To: Christoph Hellwig Cc: Jens Axboe , Coly Li , Mike Snitzer , Song Liu , David Sterba , Josef Bacik , "Theodore Ts'o" , OGAWA Hirofumi , Dave Kleikamp , Anton Altaparmakov , Konstantin Komarov , Kees Cook , Phillip Lougher , Jan Kara , linux-block@vger.kernel.org, device-mapper development , drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.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 , linux-ntfs-dev@lists.sourceforge.net, ntfs3@lists.linux.dev, reiserfs-devel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Oct 15, 2021 at 10:27 PM Christoph Hellwig wrote: > > Use the proper helper to read the block device size. > > Signed-off-by: Christoph Hellwig Acked-by: Ryusuke Konishi Thanks, Ryusuke Konishi