Fix incompatible pointer type warning
[zfs.git] / module / zfs / zpl_file.c
index 53921d1..af46afd 100644 (file)
@@ -305,7 +305,8 @@ static int
 zpl_readpages(struct file *filp, struct address_space *mapping,
        struct list_head *pages, unsigned nr_pages)
 {
-       return (read_cache_pages(mapping, pages, zpl_readpage, filp));
+       return (read_cache_pages(mapping, pages,
+           (filler_t *)zpl_readpage, filp));
 }
 
 int