ANDROID: sdcardfs: Fix locking for permission fix up
authorDaniel Rosenberg <drosen@google.com>
Tue, 16 Aug 2016 22:19:26 +0000 (15:19 -0700)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:00 +0000 (19:40 -0800)
commit8d6cecd111f7d36ff5257510e75961aff282a27a
tree7b2aa566e72fe121acc98badb0791ce6f194a813
parent5d61f892ddc9716e076ffba123f3ebc67f811bfd
ANDROID: sdcardfs: Fix locking for permission fix up

Iterating over d_subdirs requires taking d_lock.
Removed several unneeded locks.

Change-Id: I5b1588e54c7e6ee19b756d6705171c7f829e2650
Signed-off-by: Daniel Rosenberg <drosen@google.com>
fs/sdcardfs/derived_perm.c
fs/sdcardfs/inode.c
fs/sdcardfs/lookup.c