projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc001f
)
lightnvm: pblk: fix bad error check
author
Javier González
<jg@lightnvm.io>
Fri, 21 Apr 2017 23:32:46 +0000
(
01:32
+0200)
committer
Jens Axboe
<axboe@fb.com>
Sun, 23 Apr 2017 22:57:52 +0000
(16:57 -0600)
Fix bad error check
Fixes:
a4bd217b4326
"lightnvm: physical block device (pblk) target"
Signed-off-by: Javier González <javier@cnexlabs.com>
Reviewed-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/pblk-core.c
patch
|
blob
|
history
diff --git
a/drivers/lightnvm/pblk-core.c
b/drivers/lightnvm/pblk-core.c
index
7065658
..
7eb62ec
100644
(file)
--- a/
drivers/lightnvm/pblk-core.c
+++ b/
drivers/lightnvm/pblk-core.c
@@
-1273,7
+1273,7
@@
retry_meta:
retry_setup:
if (!pblk_line_set_metadata(pblk, new, cur)) {
new = pblk_line_retry(pblk, new);
- if (new)
+ if (
!
new)
return NULL;
goto retry_setup;