diff options
| author | Jeff Mahoney <[email protected]> | 2013-02-27 19:43:09 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2013-03-11 21:05:56 +0000 |
| commit | 68ac8bfb6aa4ce1a146b5a291f03fc2dd6d17cf2 (patch) | |
| tree | eabebb028d5b7023bf57c72d5936891a01a0e3d8 /net/unix/af_unix.c | |
| parent | Linux 3.9-rc2 (diff) | |
| download | kernel-68ac8bfb6aa4ce1a146b5a291f03fc2dd6d17cf2.tar.gz kernel-68ac8bfb6aa4ce1a146b5a291f03fc2dd6d17cf2.zip | |
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 <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
