commit | 68ac8bfb6aa4ce1a146b5a291f03fc2dd6d17cf2 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Wed Feb 27 14:43:09 2013 -0500 |
committer | Jan Kara <jack@suse.cz> | Mon Mar 11 22:05:56 2013 +0100 |
tree | eabebb028d5b7023bf57c72d5936891a01a0e3d8 | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 [diff] |
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 <jeffm@suse.com> Signed-off-by: Jan Kara <jack@suse.cz>