nilfs2: simplify nilfs_get_page function
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 24 Jul 2010 08:09:10 +0000 (17:09 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 24 Jul 2010 08:36:29 +0000 (17:36 +0900)
Implementation of nilfs_get_page() is a bit old as below:

 - A common read_mapping_page inline function is now available instead
   of its read_cache_page use.
 - wait_on_page_locked() use in the function is eliminable since
   read_cache_page function does the same thing through wait_on_page_read().
 - PageUptodate() check is eliminable for the same reason.

This renews nilfs_get_page() based on these points.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>

No differences found