WSL2-Linux-Kernel/fs/quota
Jan Kara 0f8049e4a1 quota: Remove BUG_ON from dqget()
[ Upstream commit 249f374eb9b6b969c64212dd860cc1439674c4a8 ]

dqget() checks whether dquot->dq_sb is set when returning it using
BUG_ON. Firstly this doesn't work as an invalidation check for quite
some time (we release dquot with dq_sb set these days), secondly using
BUG_ON is quite harsh. Use WARN_ON_ONCE and check whether dquot is still
hashed instead.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-04 13:23:24 +02:00
..
Kconfig
Makefile
compat.h
dquot.c quota: Remove BUG_ON from dqget() 2024-09-04 13:23:24 +02:00
kqid.c
netlink.c
quota.c quota: Change quotactl_path() systcall to an fd-based one 2021-06-07 12:11:24 +02:00
quota_tree.c quota: Check next/prev free block number after reading from quota file 2022-10-26 12:34:21 +02:00
quota_tree.h
quota_v1.c
quota_v2.c
quotaio_v1.h
quotaio_v2.h