Removed experimental code about inode number generation from LBA.

Obsoleted macros Libisofs_ino_from_lbA Libisofs_patch_ticket_144.
This commit is contained in:
Thomas Schmitt 2009-05-26 18:47:23 +02:00
parent f370829717
commit dfcb815480
2 changed files with 0 additions and 23 deletions

View File

@ -1691,20 +1691,7 @@ int iso_file_source_new_ifs(IsoImageFilesystem *fs, IsoFileSource *parent,
* to generate those serial numbers, and we use extend block instead.
* It BREAKS POSIX SEMANTICS, but its suitable for our needs
*/
#ifndef Libisofs_ino_from_lbA
#define Libisofs_patch_ticket_144 yes
#endif
#ifdef Libisofs_patch_ticket_144
atts.st_ino = fs_give_ino_number(fs, 0);
#else
/* Ticket 144: This produces duplicate numbers with empty files.
*/
atts.st_ino = (ino_t) iso_read_bb(record->block, 4, NULL);
#endif /* ! Libisofs_patch_ticket_144 */
if (fsdata->rr == 0) {
atts.st_nlink = 1;
}

View File

@ -5455,16 +5455,6 @@ struct burn_source {
#define Libisofs_new_fs_image_inO yes
/* Experiment: Revoke Ticket 144, use data file LBAs again.
(will work only if not Libisofs_new_fs_image_inO)
<<< Overridden if Libisofs_hardlink_prooF is defined.
#define Libisofs_ino_from_lbA yes
*/
/* Experiment: Write obsolete RR entries with Rock Ridge.
I suspect Solaris wants to see them.
DID NOT HELP: Solaris knows only RRIP_1991A.