nilfs2-pass-the-mapped-address-to-nilfs_check_page.patch removed from -mm tree
The quilt patch titled
Subject: nilfs2: pass the mapped address to nilfs_check_page()
has been removed from the -mm tree. Its filename was
nilfs2-pass-the-mapped-address-to-nilfs_check_page.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: nilfs2: pass the mapped address to nilfs_check_page()
Date: Mon, 27 Nov 2023 23:30:26 +0900
Remove another use of page_address() as part of preparing for the kmap to kmap_local transition.
---
fs/nilfs2/dir.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fs/nilfs2/dir.c renamed from fs/nilfs2/dir.c~nilfs2-pass-the-mapped-address-to-nilfs_check_page +2 -3
@@ -107,12 +107,11 @@ static void nilfs_commit_chunk(struct paunlock_page (page); } -static bool nilfs_check_page (struct page *page) +static bool nilfs_check_page (struct page *page,char *kaddr) {struct inode *dir = page->mapping->host;struct super_block *sb = dir->i_sb;unsigned int chunk_size =nilfs_chunk_size (dir); -char *kaddr =page_address (page);unsigned int offs, rec_len;unsigned int limit =PAGE_SIZE ;struct nilfs_dir_entry *p;
@@ -192,7 +191,7 @@ static void *nilfs_get_page(struct inode kaddr =kmap (page);if (unlikely (!PageChecked (page))) { -if (!nilfs_check_page (page)) +if (!nilfs_check_page (page, kaddr)) goto fail; }
_
Patches currently in -mm which might be from [email protected] are
buffer-return-bool-from-grow_dev_folio.patch buffer-calculate-block-number-inside-folio_init_buffers.patch buffer-fix-grow_buffers-for-block-size-page_size.patch buffer-cast-block-to-loff_t-before-shifting-it.patch buffer-fix-various-functions-for-block-size-page_size.patch buffer-handle-large-folios-in-__block_write_begin_int.patch buffer-fix-more-functions-for-block-size-page_size.patch