summaryrefslogtreecommitdiff
path: root/include/linux/avtimer_kernel.h
diff options
context:
space:
mode:
authorHarshdeep Dhatt <hdhatt@codeaurora.org>2015-09-09 09:14:37 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:11:40 -0700
commit4aef0900ff34106e850c8e83f0d40a424da8e407 (patch)
treea27573ac5a65bff1ca33fdea973c46556aa0020b /include/linux/avtimer_kernel.h
parentad73351ceb8b0fd9d7aef20ae6e1772026c70083 (diff)
msm: kgsl: Fix race condition in snapshot sysfs read
If there are concurrent sysfs reads of snapshot binary there can be a race condition where the snapshot data is prematurely free'd by one reader while the other reader is still reading it. Fix this by proper refcounting using an atomic. CRs-Fixed: 902816 Change-Id: I7a156c3a22f5475df0394ae30328d0fd6140f3da Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Diffstat (limited to 'include/linux/avtimer_kernel.h')
0 files changed, 0 insertions, 0 deletions