|
@@ -94,7 +94,7 @@ static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno,
|
|
|
* Adding dirty entry into seglist is not critical operation.
|
|
|
* If a given segment is one of current working segments, it won't be added.
|
|
|
*/
|
|
|
-void locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno)
|
|
|
+static void locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno)
|
|
|
{
|
|
|
struct dirty_seglist_info *dirty_i = DIRTY_I(sbi);
|
|
|
unsigned short valid_blocks;
|