diff options
Diffstat (limited to 'fs/f2fs/recovery.c')
| -rw-r--r-- | fs/f2fs/recovery.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index da75d5d52f0a..422146c6d866 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -458,6 +458,7 @@ static int check_index_in_prev_nodes(struct f2fs_sb_info *sbi,  	/* Get the previous summary */  	for (i = CURSEG_HOT_DATA; i <= CURSEG_COLD_DATA; i++) {  		struct curseg_info *curseg = CURSEG_I(sbi, i); +  		if (curseg->segno == segno) {  			sum = curseg->sum_blk->entries[blkoff];  			goto got_it; @@ -875,5 +876,5 @@ out:  #endif  	sbi->sb->s_flags = s_flags; /* Restore SB_RDONLY status */ -	return ret ? ret: err; +	return ret ? ret : err;  }  | 
