aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/log.c')
-rw-r--r--fs/ubifs/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/log.c b/fs/ubifs/log.c
index affea9494ae2..fabfb53c4fee 100644
--- a/fs/ubifs/log.c
+++ b/fs/ubifs/log.c
@@ -752,7 +752,7 @@ static int dbg_check_bud_bytes(struct ubifs_info *c)
752 struct ubifs_bud *bud; 752 struct ubifs_bud *bud;
753 long long bud_bytes = 0; 753 long long bud_bytes = 0;
754 754
755 if (!(ubifs_chk_flags & UBIFS_CHK_GEN)) 755 if (!dbg_is_chk_gen(c))
756 return 0; 756 return 0;
757 757
758 spin_lock(&c->buds_lock); 758 spin_lock(&c->buds_lock);