commit | 87241c2e68451c4d50b60af84f9a3ab119001b4c | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Mon Apr 25 09:58:18 2016 -0400 |
committer | David Sterba <dsterba@suse.com> | Thu Jul 07 18:45:53 2016 +0200 |
tree | b7968792b447aaf31a6cb5843ae092ce352c202a | |
parent | d38b349c39a9feb1aca82c3280b9b1234497d582 [diff] |
Btrfs: use root when checking need_async_flush Instead of doing fs_info->fs_root in need_async_flush, which may not be set during recovery when mounting, just pass the root itself in, which makes more sense as thats what btrfs_calc_reclaim_metadata_size takes. Signed-off-by: Josef Bacik <jbacik@fb.com> Reported-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>