xfs: use kmalloc_objs() instead of kmalloc() in xfs_da_grow_inode_int

Convert open-coded kmalloc() multiplication to the modern kmalloc_objs()
interface to improve type safety and prevent potential integer
overflows.

No functional changes are intended.

Signed-off-by: Cihan Karadag <cihan.cihan@gmail.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
Cihan Karadag 2026-07-16 15:48:12 -06:00 • committed by Carlos Maiolino
commit 56aa9ef3c4