The tm_ea_memory_inuse and tm_ea_memory_max fields are unsigned, so the
signed "size" is promoted to unsigned before the comparison. When
"size" is negative, this will not work as expected.
Reported by: Kevin Day <kevin@your.org>
Fixes: 56242a4c6566 ("Add extended attributes")