mm/filemap: Add folio_mkwrite_check_truncate()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 29 Apr 2021 02:30:06 +0000 (22:30 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 18 Oct 2021 11:49:40 +0000 (07:49 -0400)
commitf705bf84eab2aa3b9842974b8443587727ccb23a
treef8aa2ca948966acbe821c1ee04136d695a612930
parent9eb7c76dd31a53331bec795faaf7daa7ffb80071
mm/filemap: Add folio_mkwrite_check_truncate()

This is the folio equivalent of page_mkwrite_check_truncate().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
include/linux/pagemap.h