commit | 437f8f9a1e923deab6c61822c36f29f4a2198cfe | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Sun Dec 06 11:25:46 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Mon Dec 07 09:14:19 2015 -0700 |
tree | 65aef1e138b3ab6e5dbe53782e41dc8c9a8aa36e | |
parent | e9b76a80f1f165cb031f62128dc07d219e29f5a3 [diff] |
lightnvm: check mm before use The core can may issue I/Os before a media manager is registered with the lightnvm subsystem. Make sure that we don't call the media manager ->end_io prematurely with a null pointer. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>