commit | 4c78e9f59632b5e635e51db9b68111288b38ff22 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:54 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:32 2020 +0100 |
tree | 3a60556c8ce681569acd91d146de3021f5427df4 | |
parent | 0d4b0463011de06288d8ca80a873a97a7d99a948 [diff] |
btrfs: hold a ref on the root in open_ctree We lookup the fs_root and put it in our fs_info directly, we should hold a ref on this root for the lifetime of the fs_info. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>