Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206370
b: refs/heads/master
c: c28e69d
h: refs/heads/master
v: v3
  • Loading branch information
Ryusuke Konishi committed Jul 24, 2010
1 parent efdfc3e commit 2cac8bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5ca48aabe8b11674bf1102abe52d17ecc053f9c
refs/heads/master: c28e69d9332aab739920082a0a5677d861390824
7 changes: 2 additions & 5 deletions trunk/fs/nilfs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,10 @@ static void nilfs_check_page(struct page *page)
static struct page *nilfs_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)) {
wait_on_page_locked(page);
kmap(page);
if (!PageUptodate(page))
goto fail;
if (!PageChecked(page))
nilfs_check_page(page);
if (PageError(page))
Expand Down

0 comments on commit 2cac8bd

Please sign in to comment.