VirtualBox

Changeset 69155 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Oct 23, 2017 8:56:31 AM (7 years ago)
Author:
vboxsync
Message:

isomaker: Don't use zero as an INode number. isoinfo takes that to mean no inode number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isomaker.cpp

    r69046 r69155  
    58235823            pPX->gid.be         = RT_H2BE_U32((uint32_t)pName->gid);
    58245824            pPX->gid.le         = RT_H2LE_U32((uint32_t)pName->gid);
    5825             pPX->INode.be       = RT_H2BE_U32((uint32_t)pName->pObj->idxObj);
    5826             pPX->INode.le       = RT_H2LE_U32((uint32_t)pName->pObj->idxObj);
     5825            pPX->INode.be       = RT_H2BE_U32((uint32_t)pName->pObj->idxObj + 1); /* Don't use zero - isoinfo doesn't like it. */
     5826            pPX->INode.le       = RT_H2LE_U32((uint32_t)pName->pObj->idxObj + 1);
    58275827            pbSys += sizeof(*pPX);
    58285828            cbSys -= sizeof(*pPX);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette