Initialize stashbase even stash_max_blocks = 0
Change-Id: I480c02ffedd811f4dda9940ef979a05ff54f1435 Bug: 19410117
This commit is contained in:
+1
-1
@@ -1643,7 +1643,7 @@ static Value* PerformBlockImageUpdate(const char* name, State* state, int argc,
|
||||
goto pbiudone;
|
||||
}
|
||||
|
||||
if (stash_max_blocks > 0) {
|
||||
if (stash_max_blocks >= 0) {
|
||||
res = CreateStash(state, stash_max_blocks, blockdev_filename->data,
|
||||
¶ms.stashbase);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user