mkudffs does not complain when writes fails, leaving
the blocks addressed unchange.
A reasonably reliable fix for this would be to read
those blocks back, and compare.
A less expensive fix that should work for this would be
to check the write and close return codes.
Low priority because as yet no developer has expressed
interest. High priority because more that one person
posting to linux_udf has tripped over this.