commit | 2112ac800d43e795323bc18558e43fd3641da4ed | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Fri Jul 26 09:13:15 2013 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:04:25 2013 -0400 |
tree | 83d07e75f6734847e9bec73d26135dd66707f37a | |
parent | b37b39cd6b8af7a7c39fc7340d71f3db492af9e2 [diff] |
Btrfs: don't bother autodefragging if our root is going away We can end up with inodes on the auto defrag list that exist on roots that are going to be deleted. This is extra work we don't need to do, so just bail if our root has 0 root refs. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>