summaryrefslogtreecommitdiffstats
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorJan Kara2017-08-02 17:18:50 +0200
committerJan Kara2017-08-17 22:00:40 +0200
commit503330f3820fab13aa2a7b1f9e7633686acc7c79 (patch)
treea6d568090a06de55939d9ac3e997eb512eb9695d /crypto/cipher.c
parentquota: Move locking into clear_dquot_dirty() (diff)
downloadkernel-qcow2-linux-503330f3820fab13aa2a7b1f9e7633686acc7c79.tar.gz
kernel-qcow2-linux-503330f3820fab13aa2a7b1f9e7633686acc7c79.tar.xz
kernel-qcow2-linux-503330f3820fab13aa2a7b1f9e7633686acc7c79.zip
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions