linux-stable/fs/iomap
Christoph Hellwig 83fb41b2f6 iomap: remove the length variable in iomap_seek_data
[ Upstream commit 3ac1d42651 ]

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:38 +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
Makefile
seek.c iomap: remove the length variable in iomap_seek_data 2021-07-31 08:19:38 +02:00
swapfile.c iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate 2021-04-07 14:47:38 +02:00