Btrfs: add a missing spin_lock
authorJosef Bacik <josef@redhat.com>
Mon, 18 Jun 2012 13:23:18 +0000 (07:23 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 21 Jun 2012 11:19:35 +0000 (07:19 -0400)
commite18fca734278784bd6591de63ca148cc27344ca9
tree89eb4cf79e6aa93dd7e949883c613de99207fb3b
parent69bca40d41c613927b150c5392505f1894fe3010
Btrfs: add a missing spin_lock

When fixing up the locking in the delayed ref destruction work I accidently
broke the locking myself ;(.  Add back a spin_lock that should be there and
we are now all set.  Thanks,
Btrfs: add a missing spin_lock

When fixing up the locking in the delayed ref destruction work I accidently
broke the locking myself ;(.  Add back a spin_lock that should be there and
we are now all set.  Thanks,

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c