Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2311418ybz; Thu, 30 Apr 2020 14:55:52 -0700 (PDT) X-Google-Smtp-Source: APiQypJXBrby12TAl8IbrK570r514wJylSryuB1KnEvX94jQyYeuGqHP9kPVxtBCaLOl4XV+FMtE X-Received: by 2002:a17:906:16d0:: with SMTP id t16mr482467ejd.303.1588283752650; Thu, 30 Apr 2020 14:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588283752; cv=none; d=google.com; s=arc-20160816; b=iBwZKmHlkBGd+GD8KGqPLD9TN2OBczY5OGvOtk8jYgd0F8nd5Z/2mrPnJ+EJ4ibbOD +XxK7qyZNqh/kDEJf9UJfBwfPVLn0VdCGt6yBr7jvE5GowQ6iDAXWwldqhPhvTC54TCq JPc4uZhlgChJBSKk144ubSdi1xJjH00damdHUb9YRcmzWt73Qh4o7AcF9EYLul3bYhIi MIapmbZ/hvwZDJsi8j84e9oU3iRvT388iY6zS0emcgCosne9QNkI05VPKvfoUKlMxuhp Ft2NABBrcZpVzgqS4drUVlf3nA/x12PQnOz9H6AZL9/PyTN69mb/+yuK8pj81YBe5Jw1 Bt/g== 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=sVC4XtCI51zwuXU4kfWUPmx3mXCoCkfv76JEys4qRWI=; b=HcIHffIw871Xf5QSdpyRH2XWh3DV2FvUZwFhRPnA+8gXIR/fCi+mM7mlA8b9WUeoP4 F/EwECSkInP3UQETNLihMegOlm0oLEr/kdZb56FmwPCc1awPQs7zwGb09dWOFbj6xsGX UTnyS53EuYo1XLkp/hYAC/DgMTfZ3WOdWbiD1DvotRK7icgiJT+deKjxVN7cPDz+Qq81 5s9HUNChwq41ednJVpMENfeekyR9vdhcRqXibhSYOcujZmo6V5Xbp7CSqVHZ48qPOXNS OEQ4hOxAmR0cr/qMr0IBQTAJwwYe2DUrW9CkvqRBufH7HJMA0ZWark3bbxR53FwXlCJp dZrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=h2hh4ukd; 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 e22si567991eje.203.2020.04.30.14.55.29; Thu, 30 Apr 2020 14:55:52 -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=h2hh4ukd; 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 S1727953AbgD3Vw5 (ORCPT + 99 others); Thu, 30 Apr 2020 17:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727878AbgD3Vwr (ORCPT ); Thu, 30 Apr 2020 17:52:47 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33D06C08E859 for ; Thu, 30 Apr 2020 14:52:47 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id r16so5831685edw.5 for ; Thu, 30 Apr 2020 14:52:47 -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=sVC4XtCI51zwuXU4kfWUPmx3mXCoCkfv76JEys4qRWI=; b=h2hh4ukdjcrj1rKmeKUhGkIVIjVb+CMDuH/sGucO7vCFGioyAXpgts7c4azzs0Gv7I wrrOrJwzU58JHtDYO/oOtVLQCBlpEQUKurGOOWp5RON/lTp6xfIclss2781r6FT2zQjS waJNn4vy45DkGKi2F57eOjNlloFB9D2TGMAF2DfeQd8ohuFn2EMA9lBw3MtHlItasTn9 wOTEDBE7MleC0ix9SqqkvpZrZ1sgdUaF2T+Av7FJzZBBcKhUcdAmdu9JJMmDy91e2g+Z LF1NGTxFVnN7PPxwmfknLpvMMpUf8O1hq9o353eJlvR73KIYEeo13Rl69tHDdOm7Bj85 8f3A== 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=sVC4XtCI51zwuXU4kfWUPmx3mXCoCkfv76JEys4qRWI=; b=GVnJPwelL8yZAn9SDTh5tsnErVbfw3nTBVkkFXzxS9nbOTf46rObc3/X6rrKNKGGEr 9FvkptTMkl7jpIB7Gt7MfJDm0OLIyL5FT0PoCrFuVi/WZ/k/6Xnwmp1+9xfZhSnCSj8j Y/6X5kmwra+B2K5orvzX6U3I/7vWeeGqZ6E/fUIerT/Bf+kxx3PgrY7RsBFTyv8U3zM+ mEisM3flPMlRjTKLj1wcTbXHiZZOoqa4+RdohTuSVwZpAKACyOebnTHE03bdmNK6MRJp Szb9Y3rORCxmLBHYzc9E5rUXYz6pNMo6K1Reno5SvChDMAJ/pn2gJeQz72GsGUoDjM40 4ylw== X-Gm-Message-State: AGi0PuZ04Gbvjul8Mc5U9FwrXyi4zaF6y+1Yvky/NjZ7cx5bRQ/w5cgc JNEqrZhz3iotCXdb8hnWjB5xqw== X-Received: by 2002:aa7:d481:: with SMTP id b1mr1073575edr.226.1588283565949; Thu, 30 Apr 2020 14:52:45 -0700 (PDT) Received: from ls00508.pb.local ([2001:1438:4010:2540:b82f:dfc:5e2a:e7cc]) by smtp.gmail.com with ESMTPSA id f13sm92022ejd.2.2020.04.30.14.52.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 14:52:45 -0700 (PDT) From: Guoqing Jiang To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: hch@infradead.org, david@fromorbit.com, willy@infradead.org, Guoqing Jiang , Thomas Gleixner , Sebastian Andrzej Siewior , Roman Gushchin , Andreas Dilger Subject: [RFC PATCH V2 9/9] buffer_head.h: remove attach_page_buffers Date: Thu, 30 Apr 2020 23:44:50 +0200 Message-Id: <20200430214450.10662-10-guoqing.jiang@cloud.ionos.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430214450.10662-1-guoqing.jiang@cloud.ionos.com> References: <20200430214450.10662-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 --- 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