ion:synchronize debugfs callback and ion_client_destroy
authorNeil Zhang <neilzhang1123@hotmail.com>
Tue, 26 Jan 2016 09:39:06 +0000 (17:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit948c4db4ee10d85fe78ed3755dcaeb85cd37a148
tree86b62499be3ee96d09544fd993b95a4800fd2113
parent9f90381b3ec8ad5056348642333f0220c95def27
ion:synchronize debugfs callback and ion_client_destroy

There are race condition B/T ion_client_destroy and debugfs callbacks.
Let's use a mutex to synchronize them.

Signed-off-by: Neil Zhang <neilzhang1123@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c
This page took 0.037782 seconds and 5 git commands to generate.