From: Liu Bo Date: Tue, 26 Jun 2012 03:59:09 +0000 (-0600) Subject: Btrfs: fix wrong check during log recovery X-Git-Tag: v3.5-rc6~14^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf02314d9a5c29f6ec30285b9ad5361c2d4c85a;p=pandora-kernel.git Btrfs: fix wrong check during log recovery When we're evicting an inode during log recovery, we need to ensure that the inode is not in orphan state any more, which means inode's run_time flags has _no_ BTRFS_INODE_HAS_ORPHAN_ITEM. Thus, the BUG_ON was triggered because of a wrong check for the flags. Reviewed-by: David Sterba Signed-off-by: Liu Bo Signed-off-by: Josef Bacik --- Reading git-diff-tree failed