Commit ada97454 authored by Daniel Rosenberg's avatar Daniel Rosenberg
Browse files

sdcardfs: Move directory unlock before touch



This removes a deadlock under low memory conditions.
filp_open can call lookup_slow, which will attempt to
lock the parent.

Change-Id: I940643d0793f5051d1e79a56f4da2fa8ca3d8ff7
Signed-off-by: default avatarDaniel Rosenberg <drosen@google.com>
parent 07914b8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment