aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2016-02-18 12:20:20 +0000
committerJan Kara <[email protected]>2016-02-18 12:34:41 +0000
commit044c9b6753a6b6cf486e16b53296b4707b35dbe3 (patch)
tree4854ad052572bab2d07d6d74b247d0017b177452 /drivers/gpu/drm/omapdrm/omap_gem.c
parentocfs2: Implement get_next_id() (diff)
downloadkernel-044c9b6753a6b6cf486e16b53296b4707b35dbe3.tar.gz
kernel-044c9b6753a6b6cf486e16b53296b4707b35dbe3.zip
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions