]> err.no Git - linux-2.6/blobdiff - fs/afs/dir.c
[PATCH] knfsd: nfsd: call nfsd_setuser() on fh_compose(), fix nfsd4 permissions problem
[linux-2.6] / fs / afs / dir.c
index a6dff6a4f204c9cfa3fdcfd8b703f9cdc1d74afd..2fc99877cb0d1b55c74329a40cd23f2eaae91e13 100644 (file)
@@ -185,9 +185,7 @@ static struct page *afs_dir_get_page(struct inode *dir, unsigned long index)
 
        _enter("{%lu},%lu", dir->i_ino, index);
 
-       page = read_cache_page(dir->i_mapping,index,
-                              (filler_t *) dir->i_mapping->a_ops->readpage,
-                              NULL);
+       page = read_mapping_page(dir->i_mapping, index, NULL);
        if (!IS_ERR(page)) {
                wait_on_page_locked(page);
                kmap(page);