Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6926536rdb; Fri, 15 Dec 2023 12:05:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGb827k8Q9JcAKP3rlTElD4Fm830RGDMzyGrabx42uKPMVDlcCTZzdUBEbcC0CRFezeG2iI X-Received: by 2002:a05:6870:9a23:b0:203:3c99:5d1d with SMTP id fo35-20020a0568709a2300b002033c995d1dmr3535246oab.113.1702670706792; Fri, 15 Dec 2023 12:05:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702670706; cv=none; d=google.com; s=arc-20160816; b=KMpmiU48xkrMHIDnlVxULk3giRX80dRBmw1fRx973ESyvpF4w7WhPnBjpWJES8649r VlKf6oVN8tfW6b+AjdrHKW8Yp02YxkIctVJCJs0D+wiHJhZ/qEZxzCfzwDaeNotxPw+A dJRiQhP4dTzz3eEUr2emjwkCprvzboAnOTaISCJmXDLTolXdW0cNQ6RR6XvoExhzYkSC 5bhCnz9wkYimZ2bKLMjLw7Dh6Hys23NI9mam0q5VOh4pRjBzMIiiX8StZ3cVa2B8OaA6 prQimWbJ34u1MXpYwQXePbHFtA8SOpWkrf0CKaF9k5r/vXOiQ3ewKmttfDyRF98kWB2l 2AsQ== 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=fdiMOBZgvd1GbkJ8y1Kh/20f5RjjhoyfjJXzJkLF3z0=; fh=timWtHA7UGScEpXk98kbQKGrJEBXaf2Y1JfEnqzAnNI=; b=AmtkGLOVEx86tbi23YHHjOAG2xHTXNVxYywfsEyuep1MVHQ90vSUGaHu+bX8pdGT38 DJJmWBLUXL6UbRCcB5LwMLJ8kp5PXWupPJ4M+3eQ0IeWKLUFjApJOJqHbkbtHy6nneui 3Wuz/+DtaeXRVzW9xfzxkDM/wWdmp1ZRZ09/KnSsAcQssDIuu55RfXcW6VFM3y59px15 7HJC+1YvF+YD9Wpa3OO1sg6P098Rm6bEFLYdXY8CqMP3l6UaOp+64MKpPi7zkJeYZups SFwPhIXnGIiayrf96+5+Sp1lxyYZQR9vxLvHYNVZT6JfZgBIJTOdgvWXyuUWWFsTCS4h ij3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=LmH9PtVl; spf=pass (google.com: domain of linux-kernel+bounces-1596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1596-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 m4-20020a0561023e8400b0046660fe0dbfsi1238814vsv.625.2023.12.15.12.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 12:05:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1596-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=LmH9PtVl; spf=pass (google.com: domain of linux-kernel+bounces-1596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1596-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 E243A1C213FD for ; Fri, 15 Dec 2023 20:04:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E68EA5F87C; Fri, 15 Dec 2023 20:02:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="LmH9PtVl" 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 24189563AD; 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=fdiMOBZgvd1GbkJ8y1Kh/20f5RjjhoyfjJXzJkLF3z0=; b=LmH9PtVld+Jyw8zf/OkZOwV20R Krs0C2KZ64p7dlfZXWTA5P47NTFZTPuk4yjXczjRSkJUsplZo2jWReAeL5kKUpSBm/82CVq7hJXW4 XDNtLl40ZFN8Yw4LLUkFI05XkFbT1TsMMS22iQ2nqb/JQW+k5LfSomw2d7AvtvSKTSxL7uSjWEspX J17a2T/FZ3bQH016FEPcByuSOzt97iTvr1Du8AOQZ96Lrb0Ym2bCW+ty2IIDJuoKRguXd9qTK9FeP mIfzsr999v4Zef4Aow1QSERqvgquTKna63QD0pcjPZIijjbkFdkws4ZGJeLZI8+QqcgdkwVIZET+n nFs1wwog==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rEEOV-0038j4-Mu; 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 08/14] hfsplus: Really remove hfsplus_writepage Date: Fri, 15 Dec 2023 20:02:39 +0000 Message-Id: <20231215200245.748418-9-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 hfsplus_writepage only removed it from one of the aops. Remove it from the btree_aops as well. Signed-off-by: Matthew Wilcox (Oracle) --- fs/hfsplus/inode.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 702a0663b1d8..3d326926c195 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c @@ -28,11 +28,6 @@ static int hfsplus_read_folio(struct file *file, struct folio *folio) return block_read_full_folio(folio, hfsplus_get_block); } -static int hfsplus_writepage(struct page *page, struct writeback_control *wbc) -{ - return block_write_full_page(page, hfsplus_get_block, wbc); -} - static void hfsplus_write_failed(struct address_space *mapping, loff_t to) { struct inode *inode = mapping->host; @@ -159,9 +154,10 @@ const struct address_space_operations hfsplus_btree_aops = { .dirty_folio = block_dirty_folio, .invalidate_folio = block_invalidate_folio, .read_folio = hfsplus_read_folio, - .writepage = hfsplus_writepage, + .writepages = hfsplus_writepages, .write_begin = hfsplus_write_begin, .write_end = generic_write_end, + .migrate_folio = buffer_migrate_folio, .bmap = hfsplus_bmap, .release_folio = hfsplus_release_folio, }; -- 2.42.0