Module Name: src Committed By: martin Date: Sun Mar 13 09:48:32 UTC 2022
Modified Files: src/sys/fs/udf [netbsd-9]: udf_allocation.c udf_subr.c udf_vfsops.c Log Message: Pull up following revision(s), all via patch, requested by reinoud in ticket #1432: sys/fs/udf/udf_vfsops.c: revision 1.83 sys/fs/udf/udf_allocation.c: revision 1.45 sys/fs/udf/udf_subr.c: revision 1.160 sys/fs/udf/udf_subr.c: revision 1.161 While searching the VAT on recordable media, search the last sector too! This fixes Win10 formatted discs from being mounted incorrectly. Make sysctl udf.verbose dependent on UDF_DEBUG instead of DEBUG Fix serious issue with recordable media formatted with Win10. When closing it after modification the VAT was written out corrupted making the disc unreadable anymore on remount. Thanks for ig@ for spotting it in the wild! On freeing a virtual address in the VAT, use the correct value; this might confuse other implementations who can reject the VAT on this. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.40.4.1 src/sys/fs/udf/udf_allocation.c cvs rdiff -u -r1.146.2.1 -r1.146.2.2 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.76 -r1.76.10.1 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.