commit | 861a0dcc397f3e94024cc311086799393ec517df | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Mon Apr 06 15:13:00 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 17 11:06:27 2009 -0700 |
tree | cb0cd51f01acc1d35693df79707e533cae39139f | |
parent | 0cf24a7dc9123ddf63c413b6d4b38017b19db713 [diff] |
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>