]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - repair/slab.c
libxfs: remove libxfs_nproc
[thirdparty/xfsprogs-dev.git] / repair / slab.c
index ba5c232776564a4ada7b90b8b8aab3fe736e412e..f075ee5be31a3d4468de2822cecb06f8422a9604 100644 (file)
@@ -234,7 +234,7 @@ qsort_slab(
                return;
        }
 
-       create_work_queue(&wq, NULL, libxfs_nproc());
+       create_work_queue(&wq, NULL, platform_nproc());
        hdr = slab->s_first;
        while (hdr) {
                qs = malloc(sizeof(struct qsort_slab));