From: Josef Bacik Date: Tue, 30 Aug 2011 16:34:28 +0000 (-0400) Subject: Btrfs: stop passing a trans handle all around the reservation code X-Git-Tag: v3.2-rc1~21^2~24^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a92b1b8d2810db4ea0c34616b94c0b3810fa027;p=pandora-kernel.git Btrfs: stop passing a trans handle all around the reservation code The only thing that we need to have a trans handle for is in reserve_metadata_bytes and thats to know how much flushing we can do. So instead of passing it around, just check current->journal_info for a trans_handle so we know if we can commit a transaction to try and free up space or not. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed