linux-uconsole/fs/quota
Andrew Perepechko b297f8be79 quota: Fix possible dq_flags corruption
commit 08261673cb upstream.

dq_flags are modified non-atomically in do_set_dqblk via __set_bit calls and
atomically for example in mark_dquot_dirty or clear_dquot_dirty.  Hence a
change done by an atomic operation can be overwritten by a change done by a
non-atomic one. Fix the problem by using atomic bitops even in do_set_dqblk.

Signed-off-by: Andrew Perepechko <andrew.perepechko@sun.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-26 07:41:29 -07:00
..
dquot.c quota: Fix possible dq_flags corruption 2010-04-26 07:41:29 -07:00
Kconfig
Makefile quota: remove obsolete comments in fs/quota/Makefile 2009-04-27 16:49:52 +02:00
quota.c quota: cleanup dquota sync functions (version 4) 2009-06-11 21:36:04 -04:00
quota_tree.c
quota_tree.h
quota_v1.c
quota_v2.c
quotaio_v1.h
quotaio_v2.h