diff options
author | 2023-10-20 13:34:08 +0200 | |
---|---|---|
committer | 2024-01-22 12:56:20 +0100 | |
commit | 249f374eb9b6b969c64212dd860cc1439674c4a8 (patch) | |
tree | 02514df42f9709b99575b0828f49b1fbb5b7186a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | quota: Remove BUG_ON in dquot_load_quota_sb() (diff) | |
download | wireguard-linux-249f374eb9b6b969c64212dd860cc1439674c4a8.tar.xz wireguard-linux-249f374eb9b6b969c64212dd860cc1439674c4a8.zip |
quota: Remove BUG_ON from dqget()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions