tmp_suning_uos_patched/fs/quota
Jan Kara 4408ea41c0 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>
2010-10-28 01:30:06 +02:00
..
compat.c
dquot.c
Kconfig
Makefile
netlink.c
quota_tree.c
quota_tree.h
quota_v1.c
quota_v2.c
quota.c
quotaio_v1.h
quotaio_v2.h