commit | 7813b3db0a9ec77ff1f4b3ee3fb4925848395d59 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Mon Feb 10 17:37:25 2014 +0800 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:16:38 2014 -0400 |
tree | 7c4b3e305c56b6dfdb541baa9322389d441f5321 | |
parent | 2a85d9cac160bb5b845985a60007cc8348d77def [diff] |
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 <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fb.com>