Btrfs: add missing spin_lock for insertion into tree mod log
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 31 May 2012 12:00:15 +0000 (14:00 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 31 May 2012 17:56:18 +0000 (19:56 +0200)
commit926dd8a640da1bbf7478eebea1c23a842fc9c890
tree92ca5d559964d910575de487fdb66372ad5caa60
parent3301958b7c1dae8f0f5ded63aa881e0b71e78464
Btrfs: add missing spin_lock for insertion into tree mod log

tree_mod_alloc calls __get_tree_mod_seq and must acquire a spinlock before
doing so.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c