android_kernel_motorola_sm6375/fs/quota
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Kara 1e3ca3ef9f 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 <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-09-04 13:14:54 +02:00
..
compat.c
dquot.c quota: Remove BUG_ON from dqget() 2024-09-04 13:14:54 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
kqid.c
Makefile
netlink.c
quota.c quota: honor quota type in Q_XGETQSTAT[V] calls 2019-06-25 17:51:35 +02:00
quota_tree.c quota: Check next/prev free block number after reading from quota file 2022-10-26 13:22:14 +02:00
quota_tree.h
quota_v1.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
quota_v2.c quota: Fix memory leak when handling corrupted quota file 2021-03-04 10:26:26 +01:00
quotaio_v1.h
quotaio_v2.h