commit | 0050e5f2e5874c8b5983cd26dde2afeae2200e4f | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Mar 06 09:23:27 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 06 09:23:27 2012 +0100 |
tree | f04c67afb7eb0b822b61f1a5988d3e32daf5b8c6 | |
parent | 19998dbcb6712ba5885c059428ac511d306890cf [diff] |
gfio: ensure all command opcode handlers are properly gdk thread protected Since we get this callback from our handling thread, we need to use gdk_threads_enter() and gdk_threads_leave() to ensure proper locking. This fixes various crashes. Signed-off-by: Jens Axboe <axboe@kernel.dk>