ext4: fix iloc.bh leak in ext4_xattr_inode_update_ref

The error branch for ext4_xattr_inode_update_ref forget to release the
refcount for iloc.bh. Find this when review code.

Fixes: 57295e835408 ("ext4: guard against EA inode refcount underflow in xattr update")
Signed-off-by: Yang Erkun <yangerkun@huawei.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20251213055706.3417529-1-yangerkun@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org

authored by Yang Erkun and committed by Theodore Ts'o d250bdf5 0ef7ef42

+1
+1
fs/ext4/xattr.c
··· 1037 1037 ext4_error_inode(ea_inode, __func__, __LINE__, 0, 1038 1038 "EA inode %lu ref wraparound: ref_count=%lld ref_change=%d", 1039 1039 ea_inode->i_ino, ref_count, ref_change); 1040 + brelse(iloc.bh); 1040 1041 ret = -EFSCORRUPTED; 1041 1042 goto out; 1042 1043 }