diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-22 16:21:07 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-23 11:10:18 -0700 |
commit | 90a893c749f4582f21e97639f4e85e7f2362c2f0 (patch) | |
tree | 01a3e6a5b21361c7fc04c601d63f84a7b62d0020 /fs/f2fs/checkpoint.c | |
parent | c52e1b10b175bef84f1681946b4a438cc4c84147 (diff) | |
download | op-kernel-dev-90a893c749f4582f21e97639f4e85e7f2362c2f0.zip op-kernel-dev-90a893c749f4582f21e97639f4e85e7f2362c2f0.tar.gz |
f2fs: use MAX_BIO_BLOCKS(sbi)
This patch cleans up a simple macro.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r-- | fs/f2fs/checkpoint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index a1786d6..b4a8133 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -83,8 +83,7 @@ struct page *get_meta_page_ra(struct f2fs_sb_info *sbi, pgoff_t index) f2fs_put_page(page, 0); if (readahead) - ra_meta_pages(sbi, index, - MAX_BIO_BLOCKS(max_hw_blocks(sbi)), META_POR); + ra_meta_pages(sbi, index, MAX_BIO_BLOCKS(sbi), META_POR); return get_meta_page(sbi, index); } |