ANDROID: sdcardfs: Replace get/put with d_lock
authorDaniel Rosenberg <drosen@google.com>
Thu, 2 Mar 2017 23:11:27 +0000 (15:11 -0800)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:05 +0000 (19:40 -0800)
commit0335dee5b657c8f334577d37c4bf6acc3b468cda
tree3d848229f3c442c00b246c40735a7f512ec9e2d3
parentdd146a7589744e4da848d733b8b899d3aec80c05
ANDROID: sdcardfs: Replace get/put with d_lock

dput cannot be called with a spin_lock. Instead,
we protect our accesses by holding the d_lock.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35643557
Change-Id: I22cf30856d75b5616cbb0c223724f5ab866b5114
fs/sdcardfs/derived_perm.c