f2fs: use MAX_BIO_BLOCKS(sbi)
This patch cleans up a simple macro. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
c52e1b10b1
commit
90a893c749
5 changed files with 8 additions and 9 deletions
|
@ -1757,7 +1757,7 @@ static void build_sit_entries(struct f2fs_sb_info *sbi)
|
|||
int sit_blk_cnt = SIT_BLK_CNT(sbi);
|
||||
unsigned int i, start, end;
|
||||
unsigned int readed, start_blk = 0;
|
||||
int nrpages = MAX_BIO_BLOCKS(max_hw_blocks(sbi));
|
||||
int nrpages = MAX_BIO_BLOCKS(sbi);
|
||||
|
||||
do {
|
||||
readed = ra_meta_pages(sbi, start_blk, nrpages, META_SIT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue