Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2310441ybz; Thu, 30 Apr 2020 14:54:38 -0700 (PDT) X-Google-Smtp-Source: APiQypKRN+T7PgrWXM3Ss667UTPvMc0NwZ5nLCmmFZKFD2w48+uapaunXDRjMqTaiwIrYoHOU3jZ X-Received: by 2002:a17:906:31d7:: with SMTP id f23mr535505ejf.118.1588283678183; Thu, 30 Apr 2020 14:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588283678; cv=none; d=google.com; s=arc-20160816; b=R0CH2HqK4OGtMyKnkgIhmR5jOsV8T443JzjAAWm9R0H+3X/JRfFnYp1fMRtBTSqxCx BCCvy9BqwQAO0HAN5pDwichYbqi/ylKstgKobCPlmA9knRQvLUJdg4rVsNUuUcYP2ijB Yf7s83vADK0rgVapSkwUaUPFzH1BMQdiM6ATg8gN5L7vX3GWFbGKK9GRa3YmnQWrMLxM K0gQOOaByMVWl4OXbMlUrqolvhFPck3rYtJcqkHyHgOEY7IAqHl1CfguVCehg04sEeKk llxGFvad4HkHMLqwfBJTRLpLsFlFcsNJXMZ4SZy0TdiG76Tm8dwhEk/opTjGTVkKaZcX lsDw== 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=+HP7z6Hg8lzRP/U1gFmfA3WajvLlBxqo/6VD8xCmFbY=; b=lN5MB1mY2BMZGWglYWttFvU1l7oCohaFf3BSaeiA/fdxFogoC1sl3P4/OZgolo7wyI maFzkbg+zVHy/R1xEFGyQ/qmWJOgjomwF2DEtIwguY4wsaQ1w+ax+nFuVmNCfvM9d6MC mqNsxAG5aytm0LlYcXV0WcXYlmQee3fEtUCqEHpetNxR4O9JTf/c3Uttj6lYsRfnXNYZ RGj8g+EnPhifbI/mNz+A2ReUtxgjoCeJL9eGYJ/qpVnmO6acT97Gww6ZvZMRIYpIX0zs AVP8D1KY+NCabBK7vKc4e68Jt0+kAINpY1NTjqah002MLlnNw9UQnf5l8mWRtzC/t+st bb9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=hWSupT2l; 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 s18si564314ejh.293.2020.04.30.14.54.15; Thu, 30 Apr 2020 14:54:38 -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=hWSupT2l; 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 S1727931AbgD3Vwu (ORCPT + 99 others); Thu, 30 Apr 2020 17:52:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbgD3Vwp (ORCPT ); Thu, 30 Apr 2020 17:52:45 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12258C035494 for ; Thu, 30 Apr 2020 14:52:45 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id gr25so5963920ejb.10 for ; Thu, 30 Apr 2020 14:52:45 -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=+HP7z6Hg8lzRP/U1gFmfA3WajvLlBxqo/6VD8xCmFbY=; b=hWSupT2lw0h4JkwT99fJDHoFXbGY/qi6K3JHIXf5XBVKrA1IxBVU9BjwR9JRYAP5M3 mQNvDt+6buK5JxU3IZxBmLzv2kDzBUP6Gel0wdmJlpz/KnhWIY7jFwNA+BriUUF4zQ6e F9cGtBvaIgbMyqxC8HVgrTcDdKGLR7mCDmD7KpHofoQk1AYm7qd5z0fb8cCn032cGOWf MQPJXejMcv3AkFk6a0BUHTG61C8Bn41oPqbRdS5B/l8Ck9sMF0foC2alUi4NmJaLp6Ol Z7ewU8Jdmv3xb8msOTEVnp/iHyk1XgmTBbyFwZCFwhT0W8lD9F5M0SbP32SSiPb2dbI7 432g== 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=+HP7z6Hg8lzRP/U1gFmfA3WajvLlBxqo/6VD8xCmFbY=; b=Wz5/tqUdgpEDOuoZpxIhvIECtgciZWJb+p0MXwFY7SC4hvwsrHGtnrl8i0ZQli72D5 4L5OZ2HJEVOyUTDZmSloyVVKEOZ8Yf0LxsR4uB+qbpexMGnDMJW/V8ykBZ4fr6mU9CBV +FSgY1g2j+8AvA5h9/rV5kvvUVVnh4VTnp7yyx7f807FhqvKe3vMhTm04+2HWiWBaN7x gBTJTyzmpAghETE7H1UbDogwseWhJgGYTtdwoJz2KZbfoZPz4IguyfF1DHAW32SWwnYH llwXvCJMCdGUdAWK5IFego5L6bK1ZJt7rd0z6Dio84uIHWUYz3bfgoT82T3RIbixi71D hVvQ== X-Gm-Message-State: AGi0Pubr6UJbrIwlVw3Md4Y9E0Bl88JZ5qTmz9Th7DM71tCF0wMe1FP5 LdsqlNlA2cel4ykeDHPUOxfl6A== X-Received: by 2002:a17:907:2155:: with SMTP id rk21mr517017ejb.163.1588283563771; Thu, 30 Apr 2020 14:52:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 14:52:43 -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 V2 7/9] ntfs: replace attach_page_buffers with attach_page_private Date: Thu, 30 Apr 2020 23:44:48 +0200 Message-Id: <20200430214450.10662-8-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 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 -> 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