commit | 503ec94eca4f49c0a18d67bb60445fe998a601ae | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Apr 15 20:55:51 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sun Apr 16 10:06:34 2017 -0600 |
tree | d3a6a9678a54352ec12c22f35f9625f3b5a87fb8 | |
parent | a4bd217b432685d6a177c28a2af187f041c473b7 [diff] |
lightnvm: pblk-gc: fix an error pointer dereference in init These labels are reversed so we could end up dereferencing an error pointer or leaking. Fixes: 7f347ba6bb3a ("lightnvm: physical block device (pblk) target") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>