commit | f63f7f3bbc49c72ee06f351bf3a7312df32f9e3c | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Sat Mar 01 15:25:24 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Sat Mar 01 15:25:24 2008 +0100 |
tree | adffda07833fe96e83771527dd94007e84d80b46 | |
parent | 6ac7a3310ff8c21bb563939c8accec8c0d609109 [diff] |
Fix potential crash in terminate_threads() td->io_ops can be NULL, if the thread is already gone. So copy the pointer and check before dereferencing it. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>