aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2022-06-05 14:38:13 +0000
committerJan Kara <[email protected]>2022-06-06 08:08:10 +0000
commit537e11cdc7a6b3ce94fa25ed41306193df9677b7 (patch)
treef52707439580c1c059f989ab9f1823b7637bd161 /lib/xarray.c
parentwriteback: Fix inode->i_io_list not be protected by inode->i_lock error (diff)
downloadkernel-537e11cdc7a6b3ce94fa25ed41306193df9677b7.tar.gz
kernel-537e11cdc7a6b3ce94fa25ed41306193df9677b7.zip
quota: Prevent memory allocation recursion while holding dq_lock
As described in commit 02117b8ae9c0 ("f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read"), we must not enter filesystem reclaim while holding the dq_lock. Prevent this more generally by using memalloc_nofs_save() while holding the lock. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions