diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-22 18:36:28 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-08 21:28:19 +0300 |
commit | 832ee62d992d9b2d599a6dc70ac822dec4557ea4 (patch) | |
tree | 80a3da3da9610682c57e834047cd0c36f233dc0f /fs/ceph/addr.c | |
parent | 36d116e99da7e45c8827a157a0a92da0fbbfcaa2 (diff) | |
download | linux-832ee62d992d9b2d599a6dc70ac822dec4557ea4.tar.xz |
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/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions