remap_range: Remove check of uptodate flag
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 03:29:06 +0000 (23:29 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commitda028b6b648e7f7bcfa52521675980f291b34c2a
tree5ed62d7b93510184f90d062e7d011261be6f090b
parent771075e15e39b30abcf38186592383f38d06a40f
remap_range: Remove check of uptodate flag

read_mapping_folio() returns an ERR_PTR if the folio is not
uptodate, so this check is simply dead code.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/remap_range.c