diff options
author | Andrew Perepechko <andrew.perepechko@sun.com> | 2010-04-12 22:16:50 +0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-04-12 21:12:36 +0200 |
commit | 08261673cb6dc638c39f44d69b76fffb57b92a8b (patch) | |
tree | 752b396f409897a4357ca29bc2f9c3384d29e07d /fs/ufs/swab.h | |
parent | 4c5e6c0e70fd6ca2fa67184fd36a261b3b7b38d0 (diff) | |
download | kernel_samsung_aries-08261673cb6dc638c39f44d69b76fffb57b92a8b.zip kernel_samsung_aries-08261673cb6dc638c39f44d69b76fffb57b92a8b.tar.gz kernel_samsung_aries-08261673cb6dc638c39f44d69b76fffb57b92a8b.tar.bz2 |
quota: Fix possible dq_flags corruption
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>
Diffstat (limited to 'fs/ufs/swab.h')
0 files changed, 0 insertions, 0 deletions