From: Miao Xie Date: Wed, 15 May 2013 07:48:26 +0000 (+0000) Subject: Btrfs: remove the code for the impossible case in cleanup_transaction() X-Git-Tag: v3.11-rc1~70^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25d8c284c7d9b9d536a1334f6b670645da971a19;p=pandora-kernel.git Btrfs: remove the code for the impossible case in cleanup_transaction() If the transaction is removed from the transaction list, it means the transaction has been committed successfully. So it is impossible to call cleanup_transaction(), otherwise there is something wrong with the code logic. Thus, we use BUG_ON() instead of the original handle. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed