mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-07 00:01:05 +02:00
Avoid a race condition if a lock gets released by all owners but a process fails to close a lock file descriptor and tries to reuse it. Clearing the pointers to the data will ensure that attaching a dead lock will return an error. Change-Id: Ic0dedbadd693c7a22b027052cdd247370b28a7c5 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>