commit | fbccf46c939c9fee9f738da31c2e22791be5eab7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Jan 08 21:02:14 2013 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jan 08 21:02:14 2013 +0100 |
tree | b06369d4639d8ae4dec114c3ea7627a7dcde2972 | |
parent | a28b019dcb27e71037c4393f7272fccebcd150f5 [diff] |
Fix potential null pointer dereference on verify and requeue events We clear io_u to NULL, but later we derefence io_u to check the data direction. Do as we do in the main IO loop - store the data direction in a local variable, and use that after the main switch. Signed-off-by: Jens Axboe <axboe@kernel.dk>