tmp_suning_uos_patched/fs/quota
Matthew Wilcox (Oracle) 8656623bdc quota: Prevent memory allocation recursion while holding dq_lock
[ Upstream commit 537e11cdc7a6b3ce94fa25ed41306193df9677b7 ]

As described in commit 02117b8ae9 ("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/20220605143815.2330891-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-22 14:13:14 +02:00
..
compat.h quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
dquot.c quota: Prevent memory allocation recursion while holding dq_lock 2022-06-22 14:13:14 +02:00
Kconfig quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
kqid.c
Makefile quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
netlink.c
quota_tree.c quota: correct error number in free_dqentry() 2021-11-18 14:03:51 +01:00
quota_tree.h
quota_v1.c quota: minor code cleanup for v1_format_ops 2019-10-17 10:30:28 +02:00
quota_v2.c quota: Fix memory leak when handling corrupted quota file 2021-03-04 11:37:53 +01:00
quota.c \n 2020-10-15 14:56:15 -07:00
quotaio_v1.h quota: avoid time_t in v1_disk_dqblk definition 2019-12-16 14:15:30 +01:00
quotaio_v2.h