Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[pandora-kernel.git] / fs / ubifs / orphan.c
index a5422ff..c542c73 100644 (file)
@@ -929,7 +929,7 @@ static int dbg_check_orphans(struct ubifs_info *c)
        struct check_info ci;
        int err;
 
-       if (!(ubifs_chk_flags & UBIFS_CHK_ORPH))
+       if (!dbg_is_chk_orph(c))
                return 0;
 
        ci.last_ino = 0;