iomap: remove the length variable in iomap_seek_hole
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: NChristoph Hellwig <hch@lst.de> Reported-by: NLeizhen (ThunderTown) <thunder.leizhen@huawei.com> Reviewed-by: NDarrick J. Wong <djwong@kernel.org> Signed-off-by: NDarrick J. Wong <djwong@kernel.org> Reviewed-by: NMatthew Wilcox (Oracle) <willy@infradead.org>
Showing
想要评论请 注册 或 登录