ext4: Use scoped memory APIs in ext4_da_write_begin()
Instead of setting AOP_FLAG_NOFS, use memalloc_nofs_save() and memalloc_nofs_restore() to prevent GFP_FS allocations recursing into the filesystem with a journal already started. Signed-off-by: NMatthew Wilcox (Oracle) <willy@infradead.org> Acked-by: NTheodore Ts'o <tytso@mit.edu>
Showing
想要评论请 注册 或 登录