fs: convert error_remove_page to error_remove_folio
[linux-2.6-microblaze.git] / fs / ceph / addr.c
index 85be3bf..13af429 100644 (file)
@@ -907,8 +907,8 @@ static void writepages_finish(struct ceph_osd_request *req)
                        doutc(cl, "unlocking %p\n", page);
 
                        if (remove_page)
-                               generic_error_remove_page(inode->i_mapping,
-                                                         page);
+                               generic_error_remove_folio(inode->i_mapping,
+                                                         page_folio(page));
 
                        unlock_page(page);
                }