Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix restore handling of NDMP when using wrong storage.
For a NDMP restore its needed that the storage passed into the restore job is a storage definition with paired NDMP storage. When this is not the case the pstore pointer will remain NULL and we crash in the build_ndmp_job() function. Now we check if we have paired storage and also changed the cleanup somewhat so we don't try to close the bootstrap file etc when we didn't open it (which also lead to a segmentation fault.)
- Loading branch information
Marco van Wieringen
committed
Feb 17, 2015
1 parent
908e48d
commit b0f6a34
Showing
1 changed file
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters