Skip to content
Commit 503330f3 authored by Jan Kara's avatar Jan Kara
Browse files

quota: Remove dq_wait_unused from dquot



Currently every dquot carries a wait_queue_head_t used only when we are
turning quotas off to wait for last users to drop dquot references.
Since such rare case is not performance sensitive in any means, just use
a global waitqueue for this and save space in struct dquot. Also convert
the logic to use wait_event() instead of open-coding it.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 1e0b7cb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment