From: Jeff Mahoney Date: Wed, 27 Feb 2013 19:43:09 +0000 (-0500) Subject: quota: add missing use of dq_data_lock in __dquot_initialize X-Git-Tag: v3.9-rc3~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ac8bfb6aa4ce1a146b5a291f03fc2dd6d17cf2;p=pandora-kernel.git quota: add missing use of dq_data_lock in __dquot_initialize The bulk of __dquot_initialize runs under the dqptr_sem which protects the inode->i_dquot pointers. It doesn't protect the dereferenced contents, though. Those are protected by the dq_data_lock, which is missing around the dquot_resv_space call. Signed-off-by: Jeff Mahoney Signed-off-by: Jan Kara --- Reading git-diff-tree failed