aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-09-22 19:21:07 -0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-09-23 14:10:18 -0400
commit90a893c749f4582f21e97639f4e85e7f2362c2f0 (patch)
tree01a3e6a5b21361c7fc04c601d63f84a7b62d0020 /fs/f2fs/segment.c
parentc52e1b10b175bef84f1681946b4a438cc4c84147 (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/segment.c')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index c6f627b492cd..4ea53aab786d 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1757,7 +1757,7 @@ static void build_sit_entries(struct f2fs_sb_info *sbi)
1757 int sit_blk_cnt = SIT_BLK_CNT(sbi); 1757 int sit_blk_cnt = SIT_BLK_CNT(sbi);
1758 unsigned int i, start, end; 1758 unsigned int i, start, end;
1759 unsigned int readed, start_blk = 0; 1759 unsigned int readed, start_blk = 0;
1760 int nrpages = MAX_BIO_BLOCKS(max_hw_blocks(sbi)); 1760 int nrpages = MAX_BIO_BLOCKS(sbi);
1761 1761
1762 do { 1762 do {
1763 readed = ra_meta_pages(sbi, start_blk, nrpages, META_SIT); 1763 readed = ra_meta_pages(sbi, start_blk, nrpages, META_SIT);