f2fs: Convert f2fs_grab_cache_page() to use scoped memory APIs
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 22 Feb 2022 14:45:38 +0000 (09:45 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 18:28:19 +0000 (14:28 -0400)
commitdf8081801dc8e6292390fe33198174b6a60d4356
treeb1791c1d2da94506df8eafe726c562fc61c6306a
parent2d878178baf32dda7eaf6c1de05a42ab19fe4094
f2fs: Convert f2fs_grab_cache_page() to use scoped memory APIs

Prevent GFP_FS allocations by using memalloc_nofs_save() instead
of AOP_FLAG_NOFS.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/f2fs/f2fs.h