fix ufs_get_locked_folio() breakage
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 Dec 2023 16:14:09 +0000 (11:14 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 Dec 2023 16:14:09 +0000 (11:14 -0500)
commit485053bb81c81a122edd982b263277e65d7485c5
treefb9e48b2372970a82b5ec5a691bec613fa4e7505
parentb85ea95d086471afb4ad062012a4d73cd328fa86
fix ufs_get_locked_folio() breakage

filemap_lock_folio() returns ERR_PTR(-ENOENT) if the thing is not
in cache - not NULL like find_lock_page() used to.

Fixes: 5fb7bd50b351 "ufs: add ufs_get_locked_folio and ufs_put_locked_folio"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/util.c