Skip to content
Commit 6ea2eea1 authored by Jeff Liu's avatar Jeff Liu Committed by Jan Kara
Browse files

quota: Move down dqptr_sem read after initializing default warn[] type at __dquot_alloc_space().



sb->s_dqopt->dqptr_sem is used to serialize ops using pointers from inode to
dquots.  But for __dquot_alloc_space(), it could be safely moved down after the
default warn[] array got initialized.

Signed-off-by: default avatarJie Liu <jeff.liu@oracle.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent dc141a40
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