diff options
author | Jan Kara <jack@suse.cz> | 2010-10-19 00:24:21 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-10-28 01:30:06 +0200 |
commit | 4408ea41c0ab4b711d4da44dd954fb06dce6c3f8 (patch) | |
tree | 7244e8448303b034e17ab24a835012ae99b33734 /fs/xfs/xfs_btree.h | |
parent | a4c18ad2eed93194a667cb9f6662c3b3e8f0bba9 (diff) | |
download | linux-stable-4408ea41c0ab4b711d4da44dd954fb06dce6c3f8.tar.gz linux-stable-4408ea41c0ab4b711d4da44dd954fb06dce6c3f8.tar.bz2 linux-stable-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 <dmonakhov@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/xfs/xfs_btree.h')
0 files changed, 0 insertions, 0 deletions