ufs got broken this merge window on folio conversion - calling
conventions for filemap_lock_folio() are not the same as for find_lock_page() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQqUNBr3gm4hGXdBJlZ7Krx/gZQ6wUCZXnZHAAKCRBZ7Krx/gZQ 6y3QAQCazzMsqWYmqfkbR5yGjolKBPS6ILFWBHWoFySs9/WptAEA3c/960nhFuh1 aQE9Qp5zUlbWmSZ5zjz3Q2lX8N/jugU= =kyMm -----END PGP SIGNATURE----- Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs Pull ufs fix from Al Viro: "ufs got broken this merge window on folio conversion - calling conventions for filemap_lock_folio() are not the same as for find_lock_page()" * tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fix ufs_get_locked_folio() breakage
This commit is contained in:
commit
5bd7ef53ff
@ -245,7 +245,7 @@ struct folio *ufs_get_locked_folio(struct address_space *mapping,
|
||||
{
|
||||
struct inode *inode = mapping->host;
|
||||
struct folio *folio = filemap_lock_folio(mapping, index);
|
||||
if (!folio) {
|
||||
if (IS_ERR(folio)) {
|
||||
folio = read_mapping_folio(mapping, index, NULL);
|
||||
|
||||
if (IS_ERR(folio)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user