Searched hist:"044 c9b67" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 044c9b67 Thu Feb 18 06:20:20 CST 2016 Jan Kara <jack@suse.cz> quota: Fix possible races during quota loading
When loading new quota structure from disk, there is a possibility caller of dqget() will see uninitialized data due to CPU reordering loads or stores - loads from dquot can be reordered before test of DQ_ACTIVE_B bit or setting of this bit could be reordered before filling of the structure. Fix the issue by adding proper memory barriers.
Signed-off-by: Jan Kara <jack@suse.cz>
|