Whamcloud - gitweb
LU-12780 osd: use native kthreads for scrub.
[fs/lustre-release.git] / lustre / osd-zfs / osd_object.c
index 8293a01..4eb433f 100644 (file)
@@ -641,7 +641,7 @@ trigger:
        }
 
        /* The case someone triggered the OI scrub already. */
-       if (thread_is_running(&scrub->os_thread)) {
+       if (scrub->os_running) {
                if (!rc) {
                        LASSERT(remote);