]> Git Repo - linux.git/blobdiff - fs/btrfs/async-thread.c
clocksource: Exynos_mct: Use irq_force_affinity() in cpu bringup
[linux.git] / fs / btrfs / async-thread.c
index ecb5832c0967e96ffcb0084435f3a37f69f0d661..5a201d81049c09fcb280f26539d0ad5c6c5c5b51 100644 (file)
@@ -323,6 +323,8 @@ void btrfs_destroy_workqueue(struct btrfs_workqueue *wq)
 
 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max)
 {
+       if (!wq)
+               return;
        wq->normal->max_active = max;
        if (wq->high)
                wq->high->max_active = max;
This page took 0.033316 seconds and 4 git commands to generate.