X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhfsplus%2Fbnode.c;h=746abc9ecf70f344418c37c8f47062aeb9c5e3ef;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=77bf434da6796d89a9181ae50f9af0dd60a6bcf5;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/fs/hfsplus/bnode.c b/fs/hfsplus/bnode.c index 77bf434da..746abc9ec 100644 --- a/fs/hfsplus/bnode.c +++ b/fs/hfsplus/bnode.c @@ -440,7 +440,7 @@ static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) block = off >> PAGE_CACHE_SHIFT; node->page_offset = off & ~PAGE_CACHE_MASK; for (i = 0; i < tree->pages_per_bnode; block++, i++) { - page = read_mapping_page(mapping, block, NULL); + page = read_cache_page(mapping, block, (filler_t *)mapping->a_ops->readpage, NULL); if (IS_ERR(page)) goto fail; if (PageError(page)) {