lightnvm: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 15 Apr 2017 18:55:35 +0000 (20:55 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 16 Apr 2017 16:06:25 +0000 (10:06 -0600)
commit654a01b78846b96527263acb2fc373371c281896
tree0ab613286584f2e811d5c290428cfd56325ad2d8
parenta88086e09876f468356cfec5319ff62004e36a1b
lightnvm: Fix error handling

According to error handling in this function, it is likely that going to
'out' was expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.c