Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8804d9c4 authored by Hardik Arya's avatar Hardik Arya Committed by Gerrit - the friendly Code Review server
Browse files

diag: Use file's private data to get pid of exiting process



Close to diag fd can be called from a work function having
different pid from process who has registered with diag.
This is resulting in not removing cmd registration for exiting
process. The patch fixes this issue with using file's private
data to get pid of exiting process.

Change-Id: I1036b9e159b1668558da62fe7588acf1367d6aeb
Signed-off-by: default avatarHardik Arya <harya@codeaurora.org>
Signed-off-by: default avatarVivek Golani <vgolani@codeaurora.org>
parent 21a9c5bc
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