lightnvm: free reverse device map
authorJavier González <jg@lightnvm.io>
Sat, 15 Apr 2017 18:55:39 +0000 (20:55 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 16 Apr 2017 16:06:25 +0000 (10:06 -0600)
commit7a3de2b33f5213c423a59aeaaae2249196b4b5cc
treea04656714a7599a143877d9db1eb2c8feda42dbd
parenta7737f39c70d9c63ba530d6316724d7be67de541
lightnvm: free reverse device map

Free the reverse mapping table correctly on target tear down

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c