]> err.no Git - linux-2.6/blobdiff - fs/namei.c
[PATCH] Allow raw_notifier callouts to unregister themselves
[linux-2.6] / fs / namei.c
index 184fe4acf82449dae1c62eade2d4489b078f24aa..bb4a3e40e43269944523fc4f3987d4a556ca5f84 100644 (file)
@@ -2577,8 +2577,7 @@ static char *page_getlink(struct dentry * dentry, struct page **ppage)
 {
        struct page * page;
        struct address_space *mapping = dentry->d_inode->i_mapping;
-       page = read_cache_page(mapping, 0, (filler_t *)mapping->a_ops->readpage,
-                               NULL);
+       page = read_mapping_page(mapping, 0, NULL);
        if (IS_ERR(page))
                goto sync_fail;
        wait_on_page_locked(page);