From: Liu Bo Date: Mon, 10 Feb 2014 09:37:25 +0000 (+0800) Subject: Btrfs: avoid warning bomb of btrfs_invalidate_inodes X-Git-Tag: v3.15-rc1~96^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7813b3db0a9ec77ff1f4b3ee3fb4925848395d59;p=pandora-kernel.git Btrfs: avoid warning bomb of btrfs_invalidate_inodes So after transaction is aborted, we need to cleanup inode resources by calling btrfs_invalidate_inodes(), and btrfs_invalidate_inodes() hopes roots' refs to be zero in old times and sets a WARN_ON(), however, this is not always true within cleaning up transaction, so we get to detect transaction abortion and not warn at all. Signed-off-by: Liu Bo Signed-off-by: Josef Bacik --- Reading git-diff-tree failed