Discarding lfa_flags after loading if not enabled by -lfa_flags "read:on". Introduced new -chattr mode --remove-lfa-flags
This commit is contained in:
@ -180,6 +180,13 @@ static int Xorriso_grasp_loaded_aaip(struct XorrisO *xorriso, IsoImage *volset,
|
||||
free(value);
|
||||
}
|
||||
|
||||
if(!(xorriso->do_aaip & (1 << 11))) {
|
||||
/* lfa_flags not enabled for "read" */
|
||||
ret= Xorriso_remove_all_lfa_flags(xorriso, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
}
|
||||
|
||||
if(xorriso->do_hfsplus) {
|
||||
/* Bring isofs.hx to iso_hfsplus_xinfo_func,
|
||||
isofs.hb to IsoImage blessings
|
||||
@ -194,6 +201,7 @@ static int Xorriso_grasp_loaded_aaip(struct XorrisO *xorriso, IsoImage *volset,
|
||||
&dir_stbuf, 0, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
Findjob_destroy(&job, 0);
|
||||
}
|
||||
|
||||
ret= 1;
|
||||
|
Reference in New Issue
Block a user