From: Josef Bacik Date: Wed, 11 Nov 2009 02:23:48 +0000 (-0500) Subject: Btrfs: cleanup transaction starting and fix journal_info usage X-Git-Tag: v2.6.32-rc7~36^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249ac1e55c642c670f47aacdc57629bbbf10a8db;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed