android_kernel_samsung_msm8976/fs/sdcardfs
Daniel Rosenberg b3f94d8e12 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>
2018-08-15 14:40:15 +02:00
..
Kconfig sdcardfs: remove effectless config option 2018-02-06 13:12:17 +01:00
Makefile Initial port of sdcardfs 2018-02-06 13:12:17 +01:00
dentry.c ANDROID: sdcardfs: Check for NULL in revalidate 2018-02-06 13:12:26 +01:00
derived_perm.c ANDROID: sdcardfs: Protect set_top 2018-08-15 14:40:15 +02:00
file.c Revert "ANDROID: sdcardfs: notify lower file of opens" 2018-08-15 14:40:14 +02:00
inode.c ANDROID: sdcardfs: Use lower getattr times/size 2018-08-15 14:40:13 +02:00
lookup.c ANDROID: sdcardfs: d_splice_alias can return error values 2018-02-06 13:12:27 +01:00
main.c ANDROID: sdcardfs: Protect set_top 2018-08-15 14:40:15 +02:00
mmap.c ANDROID: sdcardfs: Directly pass lower file for mmap 2018-02-06 13:12:25 +01:00
multiuser.h ANDROID: sdcardfs: Avoid setting GIDs outside of valid ranges 2018-02-06 13:12:25 +01:00
packagelist.c ANDROID: sdcardfs: remove dead function open_flags_to_access_mode() 2018-02-06 13:12:27 +01:00
sdcardfs.h ANDROID: sdcardfs: Protect set_top 2018-08-15 14:40:15 +02:00
super.c ANDROID: sdcardfs: Protect set_top 2018-08-15 14:40:15 +02:00