X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Faops.h;h=3b74e66ca2ff83c648ac1910de6ecbbfc6a26dbb;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=325ce261a107d3773040d463038ade0b34032256;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/fs/ntfs/aops.h b/fs/ntfs/aops.h index 325ce261a..3b74e66ca 100644 --- a/fs/ntfs/aops.h +++ b/fs/ntfs/aops.h @@ -86,7 +86,8 @@ static inline void ntfs_unmap_page(struct page *page) static inline struct page *ntfs_map_page(struct address_space *mapping, unsigned long index) { - struct page *page = read_mapping_page(mapping, index, NULL); + struct page *page = read_cache_page(mapping, index, + (filler_t*)mapping->a_ops->readpage, NULL); if (!IS_ERR(page)) { wait_on_page_locked(page);