OSDN Git Service

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>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commitdccb7c4e27e8b80b0563d9953bd2970769c50e78
treef468fddec348af0412adce9b37119fa9d36c4c8e
parent2a55ae892e454f0eb31c253ff22945952b83c29a
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