sdcardfs: Fix locking for permission fix up
authorDaniel Rosenberg <drosen@google.com>
Tue, 16 Aug 2016 22:19:26 +0000 (15:19 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:17 +0000 (18:03 +0200)
commit4e9ba27b95ae80b83a2b9ca99b90ad4843bc1591
tree3652e423144634e3b23777d87c44f670bc0fe4cb
parentd678307708bc4c3d91cfdef2592f0e4b8a993615
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