Revert "jfs: Fix uninit-value access of new_ea in ea_buffer"

This reverts commit 2ff373f85e.
This commit is contained in:
Ksawlii 2024-11-24 00:23:06 +01:00
parent 3c13d72960
commit 7fdbc2acb2

View file

@ -434,8 +434,6 @@ static int ea_get(struct inode *inode, struct ea_buffer *ea_buf, int min_size)
int rc;
int quota_allocation = 0;
memset(&ea_buf->new_ea, 0, sizeof(ea_buf->new_ea));
/* When fsck.jfs clears a bad ea, it doesn't clear the size */
if (ji->ea.flag == 0)
ea_size = 0;