Home
last modified time | relevance | path

Searched hist:"4408 ea41" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/quota/
H A Ddquot.c4408ea41 Mon Oct 18 17:24:21 CDT 2010 Jan Kara <jack@suse.cz> 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>