Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2237486ybk; Sun, 17 May 2020 14:49:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9m+YWyVLEIVxamGNR/qBqCXBb8L40Ya/KjC6E82YarT+1Kjzmb0BAAqkbrHp+/MmBAMWk X-Received: by 2002:aa7:db57:: with SMTP id n23mr7661997edt.237.1589752171868; Sun, 17 May 2020 14:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589752171; cv=none; d=google.com; s=arc-20160816; b=Jmv+t0mIlVvcGfAgdjiewUK7d53QznLeBGLF83TzhKDkgT8fojNMroFt8OpqjND8dG ryHiRO7daxh6YMtGk5AJN7kAOQvWR82aFMYC7hKHKLdhO3tM6CALbgD8P7yUXOR8tl6C b0NaipWBwBc+jJ8BZph7zp0Usad2C9En2F4KvRq7BmR/Ysg0Sfa52rHmePbdQgWWzaTq ZahDjOEZ88m727FZ6HAB6aIituUyGt+PFDo/FL2KgpZcp1HmSPy0SAZj2vX7XFrEZaHS gA4YhGO0sbl9wV2/Hh4G6Cl/FrQBh/48E6h8Q6wDzF1E4W2vpxZi46o4QIQSKRa48zQO aGcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=YYgWnESh6GA5v0OESDXoG2vIRhhETFyg3jLhszcc4vQ=; b=LGIViltyiDi8jjk8fGf3VAQNM2t/XE419KwPWlxermIAWK8Cjff8W8EoqV+W33Yqp0 ogfhLzbRdXu4/WY+apL1BXX6CMviJfjnvetqpS1R+0IiLKopjUB3MePOLOHnOgTKZIep rUD9AoPW2Lox/v78vx+mnlVWQDrTAGlT22ZudxIxctzMzP5kmqrp0MBTVnUjX1UCGTSX brkPctb4QA4wZaZejImJ3o+cUKekKIb3oHt8Dh7Wh+oV0EZ9aKNNMfE3XcJglHTVURXa X82dlBu4bdnHVI8jujrLK1Idio2zJV4ZATGFVTcLyc4S1gqENK+TsEvh0mNGq0rIekCj Cd+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=Hlzv4zqW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 jz17si37783ejb.282.2020.05.17.14.49.09; Sun, 17 May 2020 14:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@cloud.ionos.com header.s=google header.b=Hlzv4zqW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726985AbgEQVrj (ORCPT + 99 others); Sun, 17 May 2020 17:47:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726945AbgEQVrf (ORCPT ); Sun, 17 May 2020 17:47:35 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7797C05BD09 for ; Sun, 17 May 2020 14:47:33 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id y3so9612421wrt.1 for ; Sun, 17 May 2020 14:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.ionos.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YYgWnESh6GA5v0OESDXoG2vIRhhETFyg3jLhszcc4vQ=; b=Hlzv4zqWCxXGdAcTxIc9OS1xN3LebUTz2MMDfJR6xLkhfwU0aFx8WwBuj5L8Pj7jxt 2ccD3GeoS2fsl4G1rY/ZSnT8Pg17X34UDACNqtLfaaVtvyBO4M+A7M5K7XMk0H1xwdQ6 +0E07C1OE8fURg4557sLDZEkGl5bEpA/VwsVioBLsuSUcZD3VzHAJvgFPkuSPX8yqYOo 9gEdbzs0lUYVU6mKPQkVU1ypkau7ic6QY3GbCGV1EJjGBavcrai+nuRh2PNo8wqtCHW8 pM4LYrujE5Iz7sf+fMlkZKbNwrI15Jt1U8Aiy1/aL8mGKUkjO3FRl+tD60Ye2uePMotY bwrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YYgWnESh6GA5v0OESDXoG2vIRhhETFyg3jLhszcc4vQ=; b=nWk0i3Yc26oHE/t273BsoDyzOGXYw37TArzqJHHrv5xvrIq039PWP2JwinzxMcW3EW 9NcZhKcK8GbA+elZztjw408vBe9izdjfsrhMI/KHXH9YDwtTNXBNNxH8FRyk4rmPAM4f wTkSIRlZfaNoAIyKxpN7cYVht9iJaFeiFDvcz7BGSfAlgcA9wioVHUaexJgU9nW/FHn1 DJg4wVp8mbIs175h37ZwgL4kSnC+Ilo7k0laaM9lhn34EMDERxz9iFXEMToyuDJOPNGP 7pKXGUnw6qfnoJI0RgWOyIqfE1S6B+u6oLRpBj0EOZrVqPPVZeEiSZXui0gCvthEjAHN Vc9g== X-Gm-Message-State: AOAM532oAatfHZVFpXIy1Ieq7CL7cJ3CTp1cU4LjQUiYzpGVbNnx4jmJ IzcNXa4L0bA9gW4ANug7PCKHYg== X-Received: by 2002:adf:fa92:: with SMTP id h18mr16312653wrr.260.1589752052451; Sun, 17 May 2020 14:47:32 -0700 (PDT) Received: from ls00508.pb.local ([2001:1438:4010:2540:bc3e:92a1:7010:2763]) by smtp.gmail.com with ESMTPSA id v126sm14441244wmb.4.2020.05.17.14.47.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 14:47:31 -0700 (PDT) From: Guoqing Jiang To: akpm@linux-foundation.org, viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, david@fromorbit.com, hch@infradead.org, willy@infradead.org, Guoqing Jiang , Thomas Gleixner , Sebastian Andrzej Siewior , Roman Gushchin , Andreas Dilger Subject: [PATCH 09/10] buffer_head.h: remove attach_page_buffers Date: Sun, 17 May 2020 23:47:17 +0200 Message-Id: <20200517214718.468-10-guoqing.jiang@cloud.ionos.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200517214718.468-1-guoqing.jiang@cloud.ionos.com> References: <20200517214718.468-1-guoqing.jiang@cloud.ionos.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All the callers have replaced attach_page_buffers with the new function attach_page_private, so remove it. Cc: Thomas Gleixner Cc: Sebastian Andrzej Siewior Cc: Roman Gushchin Cc: Andreas Dilger Signed-off-by: Guoqing Jiang --- No change since RFC. include/linux/buffer_head.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index 15b765a181b8..22fb11e2d2e0 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -272,14 +272,6 @@ void buffer_init(void); * inline definitions */ -static inline void attach_page_buffers(struct page *page, - struct buffer_head *head) -{ - get_page(page); - SetPagePrivate(page); - set_page_private(page, (unsigned long)head); -} - static inline void get_bh(struct buffer_head *bh) { atomic_inc(&bh->b_count); -- 2.17.1