Matthew Wilcox e999a5c5a1 fs: Add FGP_WRITEBEGIN
This particular combination of flags is used by most filesystems
in their ->write_begin method, although it does find use in a
few other places.  Before folios, it warranted its own function
(grab_cache_page_write_begin()), but I think that just having specialised
flags is enough.  It certainly helps the few places that have been
converted from grab_cache_page_write_begin() to __filemap_get_folio().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20230324180129.1220691-2-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2023-04-06 13:39:50 -04:00
..
2023-02-22 14:47:20 -08:00
2023-02-22 14:21:40 -08:00
2023-04-06 13:39:50 -04:00
2022-05-09 23:12:33 -04:00
2023-02-20 11:53:11 -08:00
2023-02-22 14:47:20 -08:00
2021-04-05 09:04:20 -04:00
2022-10-20 10:13:27 +02:00
2023-02-22 14:47:20 -08:00
2022-12-13 08:44:41 -08:00
2022-12-06 12:29:35 -05:00
2023-02-22 14:47:20 -08:00
2022-05-09 16:36:48 -04:00
2022-12-16 03:54:54 -08:00
2022-11-27 22:10:00 -05:00