Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2259382ybz; Sun, 26 Apr 2020 14:51:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJ3cCz72sKvBtKT4W2JJIFt5u1C9xZI5sIg9YGZe0YQjtFUunomhi9wZp7psbJCsla5YxQM X-Received: by 2002:a50:a365:: with SMTP id 92mr7892939edn.220.1587937909010; Sun, 26 Apr 2020 14:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587937908; cv=none; d=google.com; s=arc-20160816; b=w2IBIGwykzS8SVQ324OxnOniy7Po7DpaZ+0OZzi8Cw+eAJjkc/VkQl99qzWhZErDeU gTbL5vwsxgccB4WBzx6kEsDyDAjDedakzjuNPVWjTzRE9pLyyReNpMNxPtOVMsscHzZK +F+Moiax1ztPVt6hICevkvEpQOAgEmu7lSBCyvNAbD0CoEtNjYeVHaNiuB+H9KREqcGK gAs1V/kvFygf1cqCqYyPJv0FAZ7Rw3lsaKfsn8whadgIYNgsEewWYatM1k9EMCtyzoIn tZPqGgFmYUvwxBNjk529UjMeZa2irRDUYlvipIY+OxcWpoe1a6IZD1Ig4J02Llci4OUy ko+A== 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=Iy5dbJ5ulEBQZnVYe4LdimJwxmRBu3H1I8kAoywkhO4=; b=WmHesi+9qUnS3BCQgD4V4tT57lKnks5at3rgIRKsgv+Kev68b/gJKs9lCuSQtJSeka 3iWQoCfNOv11hrWq07/H6HV+0S6vxBMHtKvUJ5FF5gS8bIf8JUS+StEQ1eYn61rYJh2P 4tgAQ7gw5mx2cmqXrEbPj7FvWWY7dNLXzka2je2sX3x2uIWFRu1q7k5GdsyDhJhcZqUd qsXlc7jrZPoEcPh8uHbr9tJN8YO2PcIBXdLM2T9Tf8PDRBQbghxRXQYEkTtJR6/S9n3y SIy5qQx/aesf4Y8ISFThJk6rmS217Xaaq+ML28moDf3SITbDa/7bSl1euSLf4Xf7/RtL gyxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=CNngllvg; 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 c2si7658096edx.82.2020.04.26.14.51.26; Sun, 26 Apr 2020 14:51:48 -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=CNngllvg; 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 S1726450AbgDZVt7 (ORCPT + 99 others); Sun, 26 Apr 2020 17:49:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbgDZVtz (ORCPT ); Sun, 26 Apr 2020 17:49:55 -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 C1C7EC061A0F for ; Sun, 26 Apr 2020 14:49:54 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id n4so12440678ejs.11 for ; Sun, 26 Apr 2020 14:49:54 -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=Iy5dbJ5ulEBQZnVYe4LdimJwxmRBu3H1I8kAoywkhO4=; b=CNngllvg67ixykLg7cIJmP9idgw85CRV9miXlKw51shYgZp8X7u0kscny53amrBTHc 911VnBxmwMuOV4SMj0chVxA/OMGNGdYUJIvzcQY/1rcco/Mso860J2eU88rH1GapiEOf Lk5647aRv60gkMz62Di52oIsDnE1MnHVDvMWsDKr7xXXLrfk0hSblYlNC7L9OB5nBYTz 0eY+qIPp8bjWHmcEmAzKTNtLyLaF3FQTM05XLfoOp5jpG4gvO9k5PW0q0qwnt/BOvI6w juUApwcHoJ/i5G0Pds+09eEE7A53kzuE0TnqRhvo9v7tEzJM9ViaeYaCS4t/KJ5QCYC6 kcmA== 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=Iy5dbJ5ulEBQZnVYe4LdimJwxmRBu3H1I8kAoywkhO4=; b=gS2TwVt9fP1XH4SnrUOIU0ShIBf3p/bqA7fyfMFXjIdnomZn8GD7tvRXCF15xQfv/u DprSY+DdPyGJWIBW935OrXtwnxmdbv4m1YqX9GYFddQje7tXebFm7jMvpf9p1S8Kyew/ 2G9OTYTpZHPPed+I/o+GA9FXZ2Ic5EanCzPeO7kOyTJ4sBBxT2dnUIHf+1bhZczNtnga 3LpOmVd5UnLA48gcJNIBaFDb+1x5sOCsOgEI2Fm2RANDbu8RXsnA+Xp8zlxPqLb8bIRE TLF9btA8IkfhzIJXqDuPHoCxzVsrD6qzSb/tZhEHIoKQ0NfB3KbulY4oFWqDbUy02A0j A2qQ== X-Gm-Message-State: AGi0PuYCOx+D4jFaF+RoKUMePUrd312/5PG3Lfi4yAgt+WSQ7NVp/Yz2 C8jy4UecphXNqJKwBhuL+yTroA== X-Received: by 2002:a17:906:6856:: with SMTP id a22mr17551863ejs.115.1587937793540; Sun, 26 Apr 2020 14:49:53 -0700 (PDT) Received: from ls00508.pb.local ([2001:1438:4010:2540:fab1:56ff:feab:56b1]) by smtp.gmail.com with ESMTPSA id ce18sm2270108ejb.61.2020.04.26.14.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2020 14:49:52 -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 , Anton Altaparmakov , linux-ntfs-dev@lists.sourceforge.net Subject: [RFC PATCH 7/9] ntfs: replace attach_page_buffers with set_fs_page_private Date: Sun, 26 Apr 2020 23:49:23 +0200 Message-Id: <20200426214925.10970-8-guoqing.jiang@cloud.ionos.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200426214925.10970-1-guoqing.jiang@cloud.ionos.com> References: <20200426214925.10970-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 --- 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..d8c60e5793c0 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); + set_fs_page_private(page, head); } else buffers_to_free = bh; } diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c index 3aac5c917afe..e61cb280aee0 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); + set_fs_page_private(page, head); } bh = head = page_buffers(page); BUG_ON(!bh); -- 2.17.1