Josef Bacik 249ac1e55c Btrfs: cleanup transaction starting and fix journal_info usage
We use journal_info to tell if we're in a nested transaction to make sure we
don't commit the transaction within a nested transaction.  We use another
method to see if there are any outstanding ioctl trans handles, so if we're
starting one do not set current->journal_info, since it will screw with other
filesystems.  This patch also cleans up the starting stuff so there aren't any
magic numbers.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-11-11 14:20:16 -05:00
..
2009-10-13 13:51:39 -04:00
2009-10-14 10:32:49 -04:00
2008-09-25 11:04:06 -04:00
2009-11-11 14:20:16 -05:00
2009-02-04 09:28:28 -05:00
2009-04-02 16:46:06 -04:00
2009-10-14 10:32:49 -04:00
2009-01-05 21:25:51 -05:00
2009-09-29 13:51:04 -04:00
2009-10-13 13:51:39 -04:00
2009-02-04 09:29:13 -05:00