iomap: Simplify is_partially_uptodate a little
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 4 Mar 2022 19:05:23 +0000 (14:05 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 1 Apr 2022 18:40:43 +0000 (14:40 -0400)
commit2756c818e5cbcc4c9d13d7399273e86068e95156
treee075c92d42c38ac420357687b202a61cdf8a539f
parent1e4702806faca1551733f58be17ea11a9d214e91
iomap: Simplify is_partially_uptodate a little

Remove the unnecessary variable 'len' and fix a comment to refer to
the folio instead of the page.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
fs/iomap/buffered-io.c