commit | 6ea2eea1fa930b9308a06f77fce65c38931eeb13 | [log] [tgz] |
---|---|---|
author | Jeff Liu <jeff.liu@oracle.com> | Wed Jul 18 12:12:41 2012 +0800 |
committer | Jan Kara <jack@suse.cz> | Wed Aug 15 00:22:57 2012 +0200 |
tree | 39ee0487bdcbb9e1c1d9d6c250a4a3f1b36e80dd | |
parent | dc141a402b9dc03a4188cd978a4cf149c397172c [diff] |
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 <jeff.liu@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>