+27
−35
Loading
Move all of the logic to find the contigous length inside a folio into get_contig_folio_len instead of keeping some of it in the caller. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Damien Le Moal <dlemoal@kernel.org> Reviewed-by:
Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Tested-by:
Anuj Gupta <anuj20.g@samsung.com> Reviewed-by:
Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by:
Anuj Gupta <anuj20.g@samsung.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>