]> git.proxmox.com Git - mirror_spl.git/commit
Don't use tq->tq_lock_flags
authorChunwei Chen <david.chen@osnexus.com>
Thu, 3 Dec 2015 23:06:03 +0000 (15:06 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 12 Dec 2015 00:20:03 +0000 (16:20 -0800)
commit066b89e68545e1f774124969d0dd7b36ccb04112
treefd1129168534c78bbc8f2fd85f980cdb2ac016a9
parent326172d8549e0a34a8e4ef4665d8bdfcf7aeda6e
Don't use tq->tq_lock_flags

The flags argument in spin_lock_irqsave is modified out side of spin_lock
context. We cannot use a shared variable like tq->tq_lock_flags for them. This
patch removes it and uses local variable for the flags.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #506
include/sys/taskq.h
module/spl/spl-taskq.c