Re: [PATCH] Btrfs: fix wrong check during log recovery

2012-06-26 Thread David Sterba
On Tue, Jun 26, 2012 at 11:59:09AM +0800, Liu Bo wrote: > 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

[PATCH] Btrfs: fix wrong check during log recovery

2012-06-25 Thread Liu Bo
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. Signed-off-by: Liu Bo --- fs/btrfs