+24
−33
Loading
There is no real point in having a union of two pointer types here, just use a void pointer as we mix and match types between the arms of the union between the allocation and freeing side already. Also rename the nr_allocations field to nr_descriptors to better describe what it does. Signed-off-by:Christoph Hellwig <hch@lst.de> [leon: ported forward to include metadata SGL support] Signed-off-by:
Leon Romanovsky <leon@kernel.org> Reviewed-by:
Keith Busch <kbusch@kernel.org> Reviewed-by:
Kanchan Joshi <joshi.k@samsung.com>