There are three issues with change that stopped truncating ea area before write, and resulted in possible zero tail in the area:
- Truncate to zero checked i_ea_len after the reference was dropped, making the last drop effectively truncate to zero length always.
- Loop to fill uio for zeroing specified too large length.
- Integrity check could trip over the tail, instead we must allow partial header or header with zero length, and chomp ea at it.