Skip to content
Commit 300d9cb1 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Move RevocableFileDescriptor creation outside the locked section.

If creating the RevocableFileDescriptor while holding the lock gets
stuck, it could crash the system. So, take it out of of the locked
section. Also, close the underlying fd if RevocableFileDescriptor
creation fails.

Bug: 157535024
Test: atest --test-mapping apex/blobstore
Change-Id: I9948307f7e5cdaa1ac886531cf6e67f5a7dd0547
parent edcb2c38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment