On 2/16/24 09:02, Christoph Hellwig wrote: > Without this the kernel crashes in kfree for files with a sufficiently > large number of extents. > > Fixes: d4c75a1b40cd ("xfs: convert remaining kmem_free() to kfree()") > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- Commit d4c75a1b40cd uses sed in-place replace to change kmem_free ->kfree. xfs_ioc_getbmap() allocates buffer using kvcalloc(). Looks good. Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx> -ck