* + nilfs2-get-rid-of-nilfs_mapping_init.patch added to -mm tree
@ 2022-03-26 3:24 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-03-26 3:24 UTC (permalink / raw)
To: mm-commits, willy, sunhao.th, david, konishi.ryusuke, akpm
The patch titled
Subject: nilfs2: get rid of nilfs_mapping_init()
has been added to the -mm tree. Its filename is
nilfs2-get-rid-of-nilfs_mapping_init.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/nilfs2-get-rid-of-nilfs_mapping_init.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/nilfs2-get-rid-of-nilfs_mapping_init.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Subject: nilfs2: get rid of nilfs_mapping_init()
After applying the lockdep warning fixes, nilfs_mapping_init() is no
longer used, so delete it.
Link: https://lkml.kernel.org/r/1647867427-30498-4-git-send-email-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hao Sun <sunhao.th@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/nilfs2/page.c | 9 ---------
fs/nilfs2/page.h | 1 -
2 files changed, 10 deletions(-)
--- a/fs/nilfs2/page.c~nilfs2-get-rid-of-nilfs_mapping_init
+++ a/fs/nilfs2/page.c
@@ -436,15 +436,6 @@ unsigned int nilfs_page_count_clean_buff
return nc;
}
-void nilfs_mapping_init(struct address_space *mapping, struct inode *inode)
-{
- mapping->host = inode;
- mapping->flags = 0;
- mapping_set_gfp_mask(mapping, GFP_NOFS);
- mapping->private_data = NULL;
- mapping->a_ops = &empty_aops;
-}
-
/*
* NILFS2 needs clear_page_dirty() in the following two cases:
*
--- a/fs/nilfs2/page.h~nilfs2-get-rid-of-nilfs_mapping_init
+++ a/fs/nilfs2/page.h
@@ -43,7 +43,6 @@ int nilfs_copy_dirty_pages(struct addres
void nilfs_copy_back_pages(struct address_space *, struct address_space *);
void nilfs_clear_dirty_page(struct page *, bool);
void nilfs_clear_dirty_pages(struct address_space *, bool);
-void nilfs_mapping_init(struct address_space *mapping, struct inode *inode);
unsigned int nilfs_page_count_clean_buffers(struct page *, unsigned int,
unsigned int);
unsigned long nilfs_find_uncommitted_extent(struct inode *inode,
_
Patches currently in -mm which might be from konishi.ryusuke@gmail.com are
nilfs2-fix-lockdep-warnings-in-page-operations-for-btree-nodes.patch
nilfs2-fix-lockdep-warnings-during-disk-space-reclamation.patch
nilfs2-get-rid-of-nilfs_mapping_init.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-26 3:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-26 3:24 + nilfs2-get-rid-of-nilfs_mapping_init.patch added to -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.