X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/7c659570a01d3720784db23a4ae3d93810b53e2a..8f3c412038381c67bd166c1bc3de8f808e97d6cb:/emufs/tipo3.c diff --git a/emufs/tipo3.c b/emufs/tipo3.c index e20b7a8..c6fbd1f 100644 --- a/emufs/tipo3.c +++ b/emufs/tipo3.c @@ -517,6 +517,7 @@ void emufs_tipo3_compactar(EMUFS *emu) if (truncate(name, size)!=0) PERR("NO TRUNQUE NADA"); /*hay que truncar el fsc!!!*/ + if(emu->tam_bloquetam_reg-sizeof(EMUFS_REG_ID)) block_id = block_id/2; if (emufs_fsc_truncate(emu, block_id)!= 0) PERR("NO TURNQUE EL FSC"); free(reg);