Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3147319pxb; Tue, 12 Oct 2021 23:09:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2iU0wOE9Z9/WSTR0kwaHlO0zHnk9F6pgl7SNQCgP2mVUW1NfagOZGyAEHT+KaDyOv5hiY X-Received: by 2002:aa7:88cb:0:b0:44d:4b3f:36c1 with SMTP id k11-20020aa788cb000000b0044d4b3f36c1mr4876231pff.76.1634105383819; Tue, 12 Oct 2021 23:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634105383; cv=none; d=google.com; s=arc-20160816; b=ohZB/hvA03L20TmFoUGUvdy8+w2+yF7eCo/thZH7FxRV0TByg/FSJg7U61HyB1/ZFe F5T1LHx+ylKtS4NYfOCJJ9L3sYM/SQlU/V8xhkifoBhubYOM9EJ151D3xwYeht5Sb5/q INASCs441i2skonycJsvNrxEnWYcpV7AdZOgSqLDjbXdKLorVyvFABuL8uzgqV0Lzss+ PeKyFMT+R09NADJEHOz08zvhHZa79q5l2s7/VedXWablHFoM79Y65cjHubJFUzWxgsod eNgEAOi4Vdn1UXvKcYj4Za0TJLXjzDNOzX0MY1WLcUD+naFuLlMvWoIa1g0Y1tc2IGQc 2H/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Qqwh23O6V/63P0yRnTO77bOtLRcytQL2fAyeRI5kB34=; b=Kx87WjqqmO6pUVXWcnmvAB+j2+tMouIJVQ5rQTAAo14385D6HNS4SJ3jFq1WrB3suM AdmWB+MssTT4MvSZEPOTVp0aQLfBSpQPwX9KtEmLlWeP42vyQgcO69eWWBGtUQ+a+Veh AUTmZ6zqIaKB7Vk8iyci9xmG/kFHv0+CKIXGN0mG+QpJZxNqqB9UtQbRYz/0yKk7HKku uRYkuhg8/7vJT6mMuCflkmI6S9ADjZz63gnlf1bs4yKHabTg+S6iv3L/eYU/P9TNiS8P Mqpc815V0jK5wNHaJ8nfSy/0ZTOiOghYxM3sehg3woRi+4cbPDxwYD85byZNK8SKiHXC pY/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CXM9rJHH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si22239196pgk.43.2021.10.12.23.09.24; Tue, 12 Oct 2021 23:09:43 -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; dkim=pass header.i=@chromium.org header.s=google header.b=CXM9rJHH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237861AbhJMGLX (ORCPT + 99 others); Wed, 13 Oct 2021 02:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231264AbhJMGLW (ORCPT ); Wed, 13 Oct 2021 02:11:22 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED4CAC061714 for ; Tue, 12 Oct 2021 23:09:19 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id m21so1268141pgu.13 for ; Tue, 12 Oct 2021 23:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Qqwh23O6V/63P0yRnTO77bOtLRcytQL2fAyeRI5kB34=; b=CXM9rJHHK73rEQgm0mgdKmXS/wAofOl4OFPnwKac/DX3XFO3SZF+VUOO6mlfTZkIDy UTW+b9/6/6WoMA5ZI2y3esBG93Aw5k00FZrNw4PEm0iPy6yRGylzqCSKEzZCYiYZiEa0 Gvi4MQ98yBAEGpxPU0vceWRTRPKnOulu8VFrE= 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=Qqwh23O6V/63P0yRnTO77bOtLRcytQL2fAyeRI5kB34=; b=zOruvNxs+jzoc5cf4FjFGD4CgYfuOGVciunjgzTQtc2kPXzsFS42ewlorJpNXNR7mX 053f0NIjPEKdKOeF1OVLtlDIIlKWQ8U2bcnZWQp2k4PiHpkiRDqekZGaCM35NDK4pC9T R31XCRC3cfi1agOXrygTudiFsT1MkoVcpic/k8wBqUStdSIjmHr4TNov1N0xy7Xx0oKj CKotrfldL3FIW50+rqrq2EKkzBx31Z7bxgaJRYtnX4FZz4xlpTTCtw+Aoq5Sx7tDxRuc 1qBJeT01SnlC9d14u7KUXFRH0WW6FfZL1bJ7UdEb6aVRTICFHYWyXBw1TmkhMeErxvXP vIjg== X-Gm-Message-State: AOAM532h82+3D5inPKQs+aiPMsYYr6lEx629vqvoPwfhPivl0b6eC9Ti E1/u/S1l+ORzP6Iati9LyRh3SA== X-Received: by 2002:a63:d40a:: with SMTP id a10mr26426089pgh.7.1634105359458; Tue, 12 Oct 2021 23:09:19 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id e6sm12787858pfm.212.2021.10.12.23.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 23:09:18 -0700 (PDT) Date: Tue, 12 Oct 2021 23:09:17 -0700 From: Kees Cook To: Christoph Hellwig Cc: Jens Axboe , Coly Li , Mike Snitzer , Song Liu , David Sterba , Josef Bacik , Theodore Ts'o , OGAWA Hirofumi , Dave Kleikamp , Ryusuke Konishi , Anton Altaparmakov , Konstantin Komarov , 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 01/29] bcache: remove bdev_sectors Message-ID: <202110122309.010F81F49A@keescook> References: <20211013051042.1065752-1-hch@lst.de> <20211013051042.1065752-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013051042.1065752-2-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Oct 13, 2021 at 07:10:14AM +0200, Christoph Hellwig wrote: > Use the equivalent block layer helper instead. > > Signed-off-by: Christoph Hellwig Reviewed-by: Kees Cook -- Kees Cook