]> git.proxmox.com Git - mirror_spl.git/commit - module/spl/spl-vnode.c
Linux 2.6.39 compat, DEFINE_SPINLOCK()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Apr 2011 19:01:11 +0000 (12:01 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Apr 2011 19:01:11 +0000 (12:01 -0700)
commit83c623aa1a8895879f03f07b060e1c53a9757f71
tree9b2dc230e949da13c43c1c60a65b570cfd2c3722
parent98e2afd1c5fc491413a80c7ef005127ac3add5d9
Linux 2.6.39 compat, DEFINE_SPINLOCK()

This is a long over due compatibility change.  Way, way, way back
in 2007 there was a push to remove all consumers of SPIN_LOCK_UNLOCKED.
Finally, in 2011 with 2.6.39 all the consumers have been updated
and SPIN_LOCK_UNLOCKED was removed.  It's about time we use the
new API as well, this change does exactly that.  DEFINE_SPINLOCK()
was available as far back as 2.6.12 so there doesn't need to be
any additional autoconf-foo for this change.
module/spl/spl-atomic.c
module/spl/spl-module.c
module/spl/spl-vnode.c