]> Git Repo - linux.git/blobdiff - fs/btrfs/async-thread.c
ARC: Add guard macro to uapi/asm/unistd.h
[linux.git] / fs / btrfs / async-thread.c
index 08cc08f037a633199bffb3fadfa95750302eb25e..c1e0b0caf9cc975c2822cadf9aaaf0c1454dcf91 100644 (file)
@@ -262,7 +262,7 @@ static struct btrfs_work *get_next_work(struct btrfs_worker_thread *worker,
        struct btrfs_work *work = NULL;
        struct list_head *cur = NULL;
 
-       if(!list_empty(prio_head))
+       if (!list_empty(prio_head))
                cur = prio_head->next;
 
        smp_mb();
@@ -495,6 +495,7 @@ static int __btrfs_start_workers(struct btrfs_workers *workers)
        spin_lock_irq(&workers->lock);
        if (workers->stopping) {
                spin_unlock_irq(&workers->lock);
+               ret = -EINVAL;
                goto fail_kthread;
        }
        list_add_tail(&worker->worker_list, &workers->idle_list);
This page took 0.032007 seconds and 4 git commands to generate.