X-Git-Url: https://code.delx.au/refind/blobdiff_plain/da80923f62aa284dde891d0bff8c42cf791bd95c..8ac0889dff415fb5b7c8b69593081c6e6d5029e3:/filesystems/fsw_iso9660.c diff --git a/filesystems/fsw_iso9660.c b/filesystems/fsw_iso9660.c index 9c1fa54..9962cb7 100644 --- a/filesystems/fsw_iso9660.c +++ b/filesystems/fsw_iso9660.c @@ -282,7 +282,6 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) struct iso9660_dirrec rootdir; int sua_pos; char *sig; - int skip; struct fsw_rock_ridge_susp_entry *entry; // read through the Volume Descriptor Set @@ -363,7 +362,6 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) #if 1 status = fsw_block_get(vol, ISOINT(rootdir.extent_location), 0, &buffer); sig = (char *)buffer + sua_pos; - skip = 0; entry = (struct fsw_rock_ridge_susp_entry *)sig; if ( entry->sig[0] == 'S' && entry->sig[1] == 'P') @@ -376,7 +374,6 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) // FSW_MSG_DEBUG((FSW_MSGSTR("fsw_iso9660_volume_mount: SP magic isn't valid\n"))); // DBG("fsw_iso9660_volume_mount: SP magic isn't valid\n"); } - skip = sp->skip; } #endif // release volume descriptors @@ -455,10 +452,10 @@ static fsw_status_t fsw_iso9660_dnode_stat(struct fsw_iso9660_volume *vol, struc { sb->used_bytes = (dno->g.size + (ISO9660_BLOCKSIZE-1)) & ~(ISO9660_BLOCKSIZE-1); /* - sb->store_time_posix(sb, FSW_DNODE_STAT_CTIME, dno->raw->i_ctime); - sb->store_time_posix(sb, FSW_DNODE_STAT_ATIME, dno->raw->i_atime); - sb->store_time_posix(sb, FSW_DNODE_STAT_MTIME, dno->raw->i_mtime); - sb->store_attr_posix(sb, dno->raw->i_mode); + fsw_store_time_posix(sb, FSW_DNODE_STAT_CTIME, dno->raw->i_ctime); + fsw_store_time_posix(sb, FSW_DNODE_STAT_ATIME, dno->raw->i_atime); + fsw_store_time_posix(sb, FSW_DNODE_STAT_MTIME, dno->raw->i_mtime); + fsw_store_attr_posix(sb, dno->raw->i_mode); */ return FSW_SUCCESS;