Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6928635rdb; Fri, 15 Dec 2023 12:08:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IE97efNCf4tR+8JkDfHAnjWPTv/LCWM1Z85D2T2aHIxdpON4LNC85g6r+zP1O26mbYEtKY8 X-Received: by 2002:a05:6808:10c3:b0:3b8:b063:5d6d with SMTP id s3-20020a05680810c300b003b8b0635d6dmr14873312ois.84.1702670884075; Fri, 15 Dec 2023 12:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702670884; cv=none; d=google.com; s=arc-20160816; b=boYbmatr1SYACANLxpYrWhZo5+w7R4i8xwoQ9Y9fYXwUMsUeAs+n468epKoD99nylw Wq7ncHtZa6XxHZpqfofeO4eMWfWveVgZReIg3TPNcAaVtB7zMvVDVb79i+IPKzdowBEG BTsuPkbeH4j4x/nLQtA4g4JB6TKsCfoTGs9o3jM8zeYEiXVxNptpovXl89lxodFR4ct4 TwR7l5nX0zN3/LNxJ2KowUmmFbLrN6X+LAtxNmiwvT8XUsSLADejITqF1N1tfWgUkxTd 2LamhbVhVSB257xZYaLkLQ+A0DE/qyWmAT5+vFwBpQVjCby/Pcs2LYmUq+T3gG/2Is6Y nrWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GmcNLU65oEAUUTl/mxQRoWVPOO4x8pF5TdUbIDSNX5c=; fh=timWtHA7UGScEpXk98kbQKGrJEBXaf2Y1JfEnqzAnNI=; b=Wf7csZLzGkX6ppiExZP0Lpmt9lGRXJ7WhITlr/9XIek/+Q8JhWp9PqbyFlYI2cZgmj 5m+uJ8Eg/Td4gzkv6nKsbw5t9Wl90YiCNkJO6EXslAr/c+MraRYZ5eqvJnBkpm5V7i/4 UOoEK3yasZhN+Wi3xCtZ2ajJLBIqxbvlfJXZ0fk7V7I+nEE0CG2NxS2txK524qCxMaoY npNkD0TMJtnLjP31NRVja3jtZgVU/wzly/gkeBP8JAQ+uy0K2IG68eZe5oKbjDji7Dsd wokMi9/Y2hAtS0gwqqIYSAWgGxTYk8LzP6SN2+jSsCyKVgClJ0D+XZXsQ1UnMOxI02H6 jt9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Saw/rk8l"; spf=pass (google.com: domain of linux-kernel+bounces-1606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1606-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o7-20020ab02a07000000b007c3e041a09csi3541519uar.194.2023.12.15.12.08.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 12:08:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Saw/rk8l"; spf=pass (google.com: domain of linux-kernel+bounces-1606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1606-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C2B4D1C2104C for ; Fri, 15 Dec 2023 20:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 115816BB3B; Fri, 15 Dec 2023 20:02:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Saw/rk8l" X-Original-To: linux-kernel@vger.kernel.org Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 240F2563A9; Fri, 15 Dec 2023 20:02:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=GmcNLU65oEAUUTl/mxQRoWVPOO4x8pF5TdUbIDSNX5c=; b=Saw/rk8lkRD8nFo7Bh7EUFPxjw WO26ofxnYr81jYZybxOB70gglbMpOnZFsJVnFizakWiQcRw/HEgJFNEmuPzSWzH/8Dy3IKd9Ah3Qq DexWB7ilEHGsFh3uZGQYPH2j68QaBalphRoeG1Vrj667xIeY8ELFPlv1JxQwYlHfcs1Z87QmOeQ+R E9CW7vPxXkPnS5bruR45c8QiDwofHAWp/I/TJO3quc+yAqBhvx+5hnN9RkKYNWOKpoap19iGNZrv2 VlpZMTFkrk29dDtnxhzENmg1QIlQG29VPtq6Lwhz3E0vB3QqkGzax1mLCweWyzmJNxgf4n+LfSDOB kEOisUaA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rEEOV-0038it-IW; Fri, 15 Dec 2023 20:02:47 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Subject: [PATCH 07/14] hfs: Really remove hfs_writepage Date: Fri, 15 Dec 2023 20:02:38 +0000 Message-Id: <20231215200245.748418-8-willy@infradead.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20231215200245.748418-1-willy@infradead.org> References: <20231215200245.748418-1-willy@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The earlier commit to remove hfs_writepage only removed it from one of the aops. Remove it from the btree_aops as well. Signed-off-by: Matthew Wilcox (Oracle) --- fs/hfs/inode.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index a7bc4690a780..8c34798a0715 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c @@ -29,11 +29,6 @@ static const struct inode_operations hfs_file_inode_operations; #define HFS_VALID_MODE_BITS (S_IFREG | S_IFDIR | S_IRWXUGO) -static int hfs_writepage(struct page *page, struct writeback_control *wbc) -{ - return block_write_full_page(page, hfs_get_block, wbc); -} - static int hfs_read_folio(struct file *file, struct folio *folio) { return block_read_full_folio(folio, hfs_get_block); @@ -162,9 +157,10 @@ const struct address_space_operations hfs_btree_aops = { .dirty_folio = block_dirty_folio, .invalidate_folio = block_invalidate_folio, .read_folio = hfs_read_folio, - .writepage = hfs_writepage, + .writepages = hfs_writepages, .write_begin = hfs_write_begin, .write_end = generic_write_end, + .migrate_folio = buffer_migrate_folio, .bmap = hfs_bmap, .release_folio = hfs_release_folio, }; -- 2.42.0