Removed experimental code about inode number generation from LBA.

Obsoleted macros Libisofs_ino_from_lbA Libisofs_patch_ticket_144.
release-1.5.4.branch
Thomas Schmitt 14 years ago
parent f370829717
commit dfcb815480
  1. 13
      libisofs/fs_image.c
  2. 10
      libisofs/libisofs.h

@ -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;
}

@ -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.

Loading…
Cancel
Save