commit | cb21665c8d13bb7e1f6e211442c53f4675f1569d | [log] [tgz] |
---|---|---|
author | Javier González <javier@javigon.com> | Tue Oct 09 13:11:42 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 09 08:25:06 2018 -0600 |
tree | 66f4205ee194150f918fb4588719a6b2bf7bac74 | |
parent | 2cf99bbd106f89fc72f778e8ad9d5538f1ef939b [diff] |
lightnvm: pblk: improve line helpers The current helper to obtain a line from a ppa returns the line id, which requires its users to explicitly retrieve the pointer to the line with the id. Make 2 different helpers: one returning the line id and one returning the line directly. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>