Re: [PATCH] xfs: use kvfree for buf in xfs_ioc_getbmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux