kernel_samsung_a53x/fs/quota
Jan Kara 86ec403638 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-11-23 23:20:45 +01:00
..
compat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dquot.c quota: Remove BUG_ON from dqget() 2024-11-23 23:20:45 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kqid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_tree.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_tree.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_v1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_v2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quotaio_v1.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quotaio_v2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00