diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-24 17:09:10 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-24 17:36:29 +0900 |
commit | c28e69d9332aab739920082a0a5677d861390824 (patch) | |
tree | b51e3cb03298c8f2d3d1443647b7a6e75af5d4c6 /include/linux/nilfs2_fs.h | |
parent | c5ca48aabe8b11674bf1102abe52d17ecc053f9c (diff) |
nilfs2: simplify nilfs_get_page function
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>
Diffstat (limited to 'include/linux/nilfs2_fs.h')
0 files changed, 0 insertions, 0 deletions