Re: [PATCH 1/6] mm/writeback: Move __set_page_dirty() to core mm
From: Greg Kroah-Hartman
Date: Tue Jun 15 2021 - 13:17:36 EST
On Tue, Jun 15, 2021 at 05:23:37PM +0100, Matthew Wilcox (Oracle) wrote:
> Nothing in __set_page_dirty() is specific to buffer_head, so
> move it to mm/page-writeback.c. That removes the only caller of
> account_page_dirtied() outside of page-writeback.c, so make it static.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> ---
> fs/buffer.c | 24 ------------------------
> include/linux/mm.h | 1 -
> mm/page-writeback.c | 27 ++++++++++++++++++++++++++-
> 3 files changed, 26 insertions(+), 26 deletions(-)
>
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>