#include <sys/stat.h>
#include <sys/ubc.h>
#include <sys/utfconv.h>
+#include <architecture/byte_order.h>
#include <isofs/cd9660/iso.h>
#include <isofs/cd9660/iso_rrip.h>
ifhp->ifid_ino, ifhp->ifid_start);
#endif
- if ( (error = VFS_VGET(mp, (ino64_t)ntohl(ifhp->ifid_ino), &nvp, context)) ) {
+ if ( (error = VFS_VGET(mp, (ino64_t)ifhp->ifid_ino, &nvp, context)) ) {
*vpp = NULLVP;
return (error);
}
ifhp = (struct ifid *)fhp;
- ifhp->ifid_ino = htonl(ip->i_number);
- ifhp->ifid_start = htonl(ip->iso_start);
+ ifhp->ifid_ino = ip->i_number;
+ ifhp->ifid_start = ip->iso_start;
*fhlenp = sizeof(struct ifid);
#ifdef ISOFS_DBG