Josef Bacik 8351583e3f Btrfs: protect the pending_snapshots list with trans_lock
Currently there is nothing protecting the pending_snapshots list on the
transaction.  We only hold the directory mutex that we are snapshotting and a
read lock on the subvol_sem, so we could race with somebody else creating a
snapshot in a different directory and end up with list corruption.  So protect
this list with the trans_lock.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
2011-06-15 13:24:46 -04:00
..
2011-05-28 07:00:39 -04:00
2011-06-04 08:11:22 -04:00
2008-09-25 11:04:06 -04:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:11:22 -04:00
2011-05-26 17:52:15 -04:00
2010-12-22 23:15:47 +08:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:03:47 -04:00
2011-05-28 07:00:39 -04:00
2011-06-10 19:02:04 -04:00
2011-05-28 07:00:39 -04:00