projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: make read_cache_page synchronous
[powerpc.git]
/
fs
/
ufs
/
dir.c
diff --git
a/fs/ufs/dir.c
b/fs/ufs/dir.c
index
4890ddf
..
4fb8b2e
100644
(file)
--- a/
fs/ufs/dir.c
+++ b/
fs/ufs/dir.c
@@
-180,13
+180,9
@@
fail:
static struct page *ufs_get_page(struct inode *dir, unsigned long n)
{
struct address_space *mapping = dir->i_mapping;
static struct page *ufs_get_page(struct inode *dir, unsigned long n)
{
struct address_space *mapping = dir->i_mapping;
- struct page *page = read_cache_page(mapping, n,
- (filler_t*)mapping->a_ops->readpage, NULL);
+ struct page *page = read_mapping_page(mapping, n, NULL);
if (!IS_ERR(page)) {
if (!IS_ERR(page)) {
- wait_on_page_locked(page);
kmap(page);
kmap(page);
- if (!PageUptodate(page))
- goto fail;
if (!PageChecked(page))
ufs_check_page(page);
if (PageError(page))
if (!PageChecked(page))
ufs_check_page(page);
if (PageError(page))