Whamcloud - gitweb
LU-14927 scrub: create shared scrub_needs_check() function.
[fs/lustre-release.git] / lustre / osd-zfs / osd_object.c
index 3ba6522..85bb856 100644 (file)
@@ -659,7 +659,7 @@ trigger:
        }
 
        /* The case NOT allow to trigger OI scrub automatically. */
-       if (osd->od_auto_scrub_interval == AS_NEVER)
+       if (osd->od_scrub.os_auto_scrub_interval == AS_NEVER)
                GOTO(out, rc);
 
        /* It is me to trigger the OI scrub. */