ANDROID: sdcardfs: Replace get/put with d_lock
authorDaniel Rosenberg <drosen@google.com>
Thu, 2 Mar 2017 23:11:27 +0000 (15:11 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Apr 2017 07:42:16 +0000 (13:12 +0530)
commitb9c93046dc7335bc2f5a6eb18c2c5b37d8e7db0d
treefea3dac8294a5a003efc83fa750dd23d3b71f665
parent776f9ef84a9a8ee56ff0687fb60da77327ad7605
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