/* Change the current image to the new one. There should not be any
* ways for this to fail, since the image is valid and the dentry tree
* is already in memory. */
/* Change the current image to the new one. There should not be any
* ways for this to fail, since the image is valid and the dentry tree
* is already in memory. */
if (ret != 0) {
ERROR("Could not select image %d from the WIM `%s' "
"to export it", src_image, src_wim->filename);
if (ret != 0) {
ERROR("Could not select image %d from the WIM `%s' "
"to export it", src_image, src_wim->filename);
/* Even if the dentry tree is not allocated, we must select it (and
* therefore allocate it) so that we can decrement the reference counts
* in the lookup table. */
/* Even if the dentry tree is not allocated, we must select it (and
* therefore allocate it) so that we can decrement the reference counts
* in the lookup table. */