On Tue, Jul 06, 2021 at 07:05:41AM +0200, Christoph Hellwig wrote: > The length variable is rather pointless given that it can be trivially > deduced from offset and size. Also the initial calculation can lead > to KASAN warnings. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reported-by: Leizhen (ThunderTown) <thunder.leizhen@xxxxxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>