summaryrefslogtreecommitdiff
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r--fs/f2fs/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index bd119c0edf93..56c451921522 100644
--- a/fs/f2fs/node.h
+++ b/fs/f2fs/node.h
@@ -123,7 +123,7 @@ static inline void raw_nat_from_node_info(struct f2fs_nat_entry *raw_ne,
static inline bool excess_dirty_nats(struct f2fs_sb_info *sbi)
{
return NM_I(sbi)->dirty_nat_cnt >= NM_I(sbi)->max_nid *
- DEF_DIRTY_NAT_RATIO_THRESHOLD / 100;
+ NM_I(sbi)->dirty_nats_ratio / 100;
}
enum mem_type {