diff options
author | 2009-04-06 15:13:00 -0700 | |
---|---|---|
committer | 2009-04-17 11:06:27 -0700 | |
commit | 861a0dcc397f3e94024cc311086799393ec517df (patch) | |
tree | cb0cd51f01acc1d35693df79707e533cae39139f /kernel/mutex.c | |
parent | Staging: binder: Prevent the wrong thread from adding a transaction to the stack. (diff) | |
download | linux-dev-861a0dcc397f3e94024cc311086799393ec517df.tar.xz linux-dev-861a0dcc397f3e94024cc311086799393ec517df.zip |
Staging: binder: Defer flush and release operations to avoid deadlocks.
If a transaction that contains a file descriptor fails on a later object,
the new file descriptor needs to be closed. If this is a binder file
descriptor we would deadlock in flush. If there were no other references to
the file at this point release would also be called.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions