From: Jeff Liu Date: Wed, 18 Jul 2012 04:12:41 +0000 (+0800) Subject: quota: Move down dqptr_sem read after initializing default warn[] type at __dquot_all... X-Git-Tag: v3.6-rc4~21^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea2eea1fa930b9308a06f77fce65c38931eeb13;p=pandora-kernel.git 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: Jie Liu Signed-off-by: Jan Kara --- Reading git-diff-tree failed