]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ff901ed86ab7799c2a581a29c23995b30dcb01f
treee075c92d42c38ac420357687b202a61cdf8a539f
parent8629247d88b8df2160f9d2348559a6fe4ff91f64
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