mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
lightnvm: pblk: fix bad error check
Fix bad error check
Fixes: a4bd217b43 "lightnvm: physical block device (pblk) target"
Signed-off-by: Javier González <[email protected]>
Reviewed-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
3dc001f343
commit
f3236cef5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue