diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-22 10:36:28 -0500 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-08 14:28:19 -0400 |
| commit | 832ee62d992d9b2d599a6dc70ac822dec4557ea4 (patch) | |
| tree | 80a3da3da9610682c57e834047cd0c36f233dc0f /fs/buffer.c | |
| parent | 36d116e99da7e45c8827a157a0a92da0fbbfcaa2 (diff) | |
| download | tip-832ee62d992d9b2d599a6dc70ac822dec4557ea4.tar.gz | |
ext4: Use scoped memory APIs in ext4_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: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions
