aboutsummaryrefslogtreecommitdiff
path: root/scripts/cleanfile
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2018-02-01 16:52:22 -0800
committerMoyster <oysterized@gmail.com>2019-07-20 12:20:44 +0200
commit29c5f398800d3b8ce6b21f249dfe68b217ba0723 (patch)
treebe585310e9d9dbf9e428c461e181add8fd7ed25d /scripts/cleanfile
parente74c84a1d195f48a465845712f061cd1ff60a1df (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 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions