linux/fs/iomap
Christoph Hellwig befa900533 iomap: remove the length variable in iomap_seek_hole
[ Upstream commit 49694d14ff68fa4b5f86019dbcfb44a8bd213e58 ]

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@lst.de>
Reported-by: Leizhen (ThunderTown) <thunder.leizhen@huawei.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-31 08:19:39 +02:00
..
Makefile iomap: fix Invalid License ID 2019-07-25 11:05:11 +02:00
apply.c
buffered-io.c iomap: fix sub-page uptodate handling 2021-05-19 10:08:30 +02:00
direct-io.c iomap: fix WARN_ON_ONCE() from unprivileged users 2020-10-29 09:58:06 +01:00
fiemap.c
seek.c iomap: remove the length variable in iomap_seek_hole 2021-07-31 08:19:39 +02:00
swapfile.c iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate 2021-04-07 14:47:38 +02:00