]> git.baikalelectronics.ru Git - kernel.git/commit
mm: move page dirtying prototypes from mm.h
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 29 Jun 2021 02:36:30 +0000 (19:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:48 +0000 (10:53 -0700)
commit1186fb0457f0d229ac109254b5bac74b016a639e
tree4d1f858cbf84083e038099b6b111bf8bc6704543
parent7056ea0860037456c40a2f036a6a0eddb42f4e96
mm: move page dirtying prototypes from mm.h

These functions implement the address_space ->set_page_dirty operation and
should live in pagemap.h, not mm.h so that the rest of the kernel doesn't
get funny ideas about calling them directly.

Link: https://lkml.kernel.org/r/20210615162342.1669332-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dax.c
fs/zonefs/super.c
include/linux/mm.h
include/linux/pagemap.h