diff options
| author | Daniel Rosenberg <drosen@google.com> | 2018-02-01 16:52:22 -0800 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2018-02-07 19:42:47 +0000 |
| commit | a8f66d78789d66906c886fd6818fb648d0a84a2a (patch) | |
| tree | ddb653380d27ceee0f89bc91093bb8c065f454d1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | b2531f92610bba7925dffaeeae751531c19f80a6 (diff) | |
ANDROID: sdcardfs: Protect set_top
If the top is changed while we're attempting to use it, it's
possible that the reference will be put while we are in the
process of grabbing a reference.
Now we grab a spinlock to protect grabbing our reference count.
Additionally, we now set the inode_info's top value to point to
it's own data when initializing, which makes tracking changes
easier.
Change-Id: If15748c786ce4c0480ab8c5051a92523aff284d2
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
