Skip to content
Commit 249f374e authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatarJan Kara <jack@suse.cz>
parent d44c5766
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment