Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1092496ybj; Thu, 7 May 2020 14:46:22 -0700 (PDT) X-Google-Smtp-Source: APiQypKQLX7VzSLXnmAkwJo6/h/Tklx815A4JtMrTCD/sQRGxkJ2mFn0txemcDz/fXrLnT9EVP8P X-Received: by 2002:a17:906:148d:: with SMTP id x13mr3246907ejc.152.1588887982643; Thu, 07 May 2020 14:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588887982; cv=none; d=google.com; s=arc-20160816; b=aRzLcDpFhYZyY4BSCAqbKV43anuv+DwHRSWTJYLG8Dm9ryYydNYge/5qkD1yHQSX7C Ja32oSdOU44DzRbujtBvtR41ns2E6p+QlvzRm9lfP3C5mrcZc/ntEFtAxnaM47fiMV2i ybK+izU/eN6g/ZvP1TBCBBvHlJKp4CleXVKV10BlN09xh19AiN9Wfgpowf0qFkMo09XV 2HR6EwzM2WifyJ3r695J4z4gC1Kx6kcMRJxNv1ddO3tsJ1PBrBpdZCY1Qb9qcKD0VhRw C3QUdeKfXTjpVGKkrVyFcZcDLaCX18BEwb2dxKeGdjmtZootDY86uuMbjBhUCMd4BCPn GYbw== 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=MKELhdYWYdAhzUDf2017C+zkiBNUO+dgi+kWgqsMaQo=; b=jyOnPRMU1J2Ikyo8JOD41zJWfQgOfyzoNPl4oVRSpwnndD8OeXdBw4NrGwP+EXvjjF OMN09rWPhF6HUaktBI/MaZxcp6OauDBuCt5IoA0/Ec9AEkh+1HO9S9HMAXc4I5xtLNGl 9u5MaMicjgaJhuj33hGiTglfFcDDT6MuA5jotjg/MBe4sjTme7GRapfQuWVmSZn4/rAO L4ChwNIUk+Rbn6L9LwBh4yTrGA5R6JFZcfdxebbvQdnu4t4CxV7o7OVS7Lv6EBSxNgvQ UkDNsGb/8ILwOxFZZPuho6lPYGU/3MnU11zjnA5vfpa6T8AsBrBg9iDA4TCmM2BVmazP uZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b="Js03/NCa"; 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 m11si3813747edq.373.2020.05.07.14.45.59; Thu, 07 May 2020 14:46:22 -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="Js03/NCa"; 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 S1727779AbgEGVoa (ORCPT + 99 others); Thu, 7 May 2020 17:44:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727117AbgEGVo1 (ORCPT ); Thu, 7 May 2020 17:44:27 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59259C05BD43 for ; Thu, 7 May 2020 14:44:26 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id a2so5906555ejx.5 for ; Thu, 07 May 2020 14:44:26 -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=MKELhdYWYdAhzUDf2017C+zkiBNUO+dgi+kWgqsMaQo=; b=Js03/NCa0TzF0VfdeXIzvkro8wybq6NjNQGCqPdKQimeJrwvTYtam+cSE0RRwMUm3v UKO22AXxUWq/amzRnIRIwO0Z5TTODWjNj+FTzFVyBu30xNOBzSAfGNyNMKkLB+Armh8i nvTYb6dHmiGx9DTByyKmOD/rNqQhoVbdn/2HvmK0gC/pAmGrkxCsvIYzi4qm0lTF/Dof bOzxMb3YXJQhTb0g/oiCNAhJ7f03rlHoxMG7flnajSrFCu0UUpFwCNuCbH6q4YTGwB58 tjjHhZ0vmnw9ocarUaxvdVGuTgV9Gh2fHuamzzNAgyG4ZfzqwxeVh4dcPrvW+ZQdPafm 8E6w== 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=MKELhdYWYdAhzUDf2017C+zkiBNUO+dgi+kWgqsMaQo=; b=ls/7YRx1yeZqJb4Mxmt1x49cTAzIXct5oActw1C0mKqnMitK4c350aGbr4HhpiB8uW eYAx0E+On1AEr/pp+yGTG3QlnUKwQEn9j2HXpfUMir4wymrLid1pBG/sXMleW585diUU SCAaPRRkYWsiIqrYw8pF8p4/jF4ejDiNBqevz9SFWdLnuWXgyD75VXF8BIbvFd5BBIsP C096+8LF6Q/CEYgRkVYz1J+kr6wIbQZREUos22jVPJpXKu0dRlxDvV1tRfmqywS/bGLu 4R/jpEwJskCXOQZcxfrH9PxD7/UgFDE95anu8jUccd0Gz/1ef5PLwBHUZJrTrx7g2I0n GzlA== X-Gm-Message-State: AGi0PuYAgYHWlmZLcBkwEdZium3JGNufso7TfH6fu0/evdKM4TOVsdtk rlP0lRnwY72xHWtpmG/7zcQuTw== X-Received: by 2002:a17:906:6990:: with SMTP id i16mr13653114ejr.175.1588887864765; Thu, 07 May 2020 14:44:24 -0700 (PDT) Received: from ls00508.pb.local ([2001:1438:4010:2540:a1ee:a39a:b93a:c084]) by smtp.gmail.com with ESMTPSA id k3sm613530edi.60.2020.05.07.14.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 14:44:23 -0700 (PDT) From: Guoqing Jiang To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: david@fromorbit.com, hch@infradead.org, willy@infradead.org, Guoqing Jiang , Anton Altaparmakov , linux-ntfs-dev@lists.sourceforge.net Subject: [RFC PATCH V3 07/10] ntfs: replace attach_page_buffers with attach_page_private Date: Thu, 7 May 2020 23:43:57 +0200 Message-Id: <20200507214400.15785-8-guoqing.jiang@cloud.ionos.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200507214400.15785-1-guoqing.jiang@cloud.ionos.com> References: <20200507214400.15785-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 Call the new function since attach_page_buffers will be removed. Cc: Anton Altaparmakov Cc: linux-ntfs-dev@lists.sourceforge.net Signed-off-by: Guoqing Jiang --- RFC V2 -> RFC V3: no change RFC -> RFC V2 1. change the name of new function to attach_page_private. fs/ntfs/aops.c | 2 +- fs/ntfs/mft.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ntfs/aops.c b/fs/ntfs/aops.c index 554b744f41bf..bb0a43860ad2 100644 --- a/fs/ntfs/aops.c +++ b/fs/ntfs/aops.c @@ -1732,7 +1732,7 @@ void mark_ntfs_record_dirty(struct page *page, const unsigned int ofs) { bh = bh->b_this_page; } while (bh); tail->b_this_page = head; - attach_page_buffers(page, head); + attach_page_private(page, head); } else buffers_to_free = bh; } diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c index 3aac5c917afe..fbb9f1bc623d 100644 --- a/fs/ntfs/mft.c +++ b/fs/ntfs/mft.c @@ -504,7 +504,7 @@ int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, bh = bh->b_this_page; } while (bh); tail->b_this_page = head; - attach_page_buffers(page, head); + attach_page_private(page, head); } bh = head = page_buffers(page); BUG_ON(!bh); -- 2.17.1