Caused image root to memorize its eventual PX inode number.
This commit is contained in:
@ -3010,6 +3010,18 @@ int iso_image_import(IsoImage *image, IsoDataSource *src,
|
||||
if (ret < 0)
|
||||
goto import_revert;
|
||||
|
||||
#ifdef Libisofs_hardlink_prooF
|
||||
|
||||
/* ts A90501 */
|
||||
/* Attach ino as xinfo if valid */
|
||||
if (ret > 0 && info.st_ino != 0 && !data->make_new_ino) {
|
||||
ret = iso_node_set_ino(&(image->root->node), info.st_ino, 0);
|
||||
if (ret < 0)
|
||||
goto import_revert;
|
||||
}
|
||||
|
||||
#endif /* Libisofs_hardlink_prooF */
|
||||
|
||||
}
|
||||
|
||||
/* if old image has el-torito, add a new catalog */
|
||||
|
Reference in New Issue
Block a user