diff options
| author | Jan Kara <[email protected]> | 2010-10-18 22:24:21 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2010-10-27 23:30:06 +0000 |
| commit | 4408ea41c0ab4b711d4da44dd954fb06dce6c3f8 (patch) | |
| tree | 7244e8448303b034e17ab24a835012ae99b33734 /fs/jbd/commit.c | |
| parent | ext3: Update kernel-doc comments (diff) | |
| download | kernel-4408ea41c0ab4b711d4da44dd954fb06dce6c3f8.tar.gz kernel-4408ea41c0ab4b711d4da44dd954fb06dce6c3f8.zip | |
quota: Fix possible oops in __dquot_initialize()
When quotaon(8) races with __dquot_initialize() or dqget() fails because
of EIO, ENOSPC, or similar error, we could possibly dereference NULL pointer
in inode->i_dquot[cnt]. Add proper checking.
Reported-by: Dmitry Monakhov <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
