diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-22 19:21:07 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-23 14:10:18 -0400 |
commit | 90a893c749f4582f21e97639f4e85e7f2362c2f0 (patch) | |
tree | 01a3e6a5b21361c7fc04c601d63f84a7b62d0020 /fs/f2fs/node.c | |
parent | c52e1b10b175bef84f1681946b4a438cc4c84147 (diff) |
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/node.c')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 7a2d9c980c96..21ed91b3cb54 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c | |||
@@ -1697,7 +1697,7 @@ int restore_node_summary(struct f2fs_sb_info *sbi, | |||
1697 | struct f2fs_summary *sum_entry; | 1697 | struct f2fs_summary *sum_entry; |
1698 | struct inode *inode = sbi->sb->s_bdev->bd_inode; | 1698 | struct inode *inode = sbi->sb->s_bdev->bd_inode; |
1699 | block_t addr; | 1699 | block_t addr; |
1700 | int bio_blocks = MAX_BIO_BLOCKS(max_hw_blocks(sbi)); | 1700 | int bio_blocks = MAX_BIO_BLOCKS(sbi); |
1701 | struct page *pages[bio_blocks]; | 1701 | struct page *pages[bio_blocks]; |
1702 | int i, idx, last_offset, nrpages, err = 0; | 1702 | int i, idx, last_offset, nrpages, err = 0; |
1703 | 1703 | ||