]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
oprofile: Free potentially owned tasks in case of errors
authorRobert Richter <robert.richter@amd.com>
Wed, 7 Dec 2011 17:30:10 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Dec 2011 21:04:51 +0000 (13:04 -0800)
commit0faa8aa92a6fe975a8315c703999d2e3a250d370
treedeffed0c268024052e2ca6f0ac7ba8471c18abd3
parent372dfcdb6d71bb4d8a922a70d64702fc9e5792d4
oprofile: Free potentially owned tasks in case of errors

commit 6ac6519b93065625119a347be1cbcc1b89edb773 upstream.

After registering the task free notifier we possibly have tasks in our
dying_tasks list. Free them after unregistering the notifier in case
of an error.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/oprofile/buffer_sync.c