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 2495FC43217 for ; Fri, 15 Oct 2021 13:54:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C8DB6054F for ; Fri, 15 Oct 2021 13:54:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240124AbhJON4x (ORCPT ); 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-Google-Smtp-Source: ABdhPJzz49VguPSiC+Fo0EQ3C2KxuaRWGiHMMcfCON0rRU6wG0keaxKFCd23chpDIT1aQ64ecAbOb/mh29DzHZBz3N0= 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-bcache@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