commit | fc92f79856aaf4edb51ef8ca7650747df34b6dd6 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:32 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:28 2020 +0100 |
tree | 0cc063b6bd4fd2effc32bde945c646c538fb8e06 | |
parent | 8727002f79095d006a642f4f1f42372e84a77082 [diff] |
btrfs: hold a ref on the root in create_subvol We're creating the new root here, but we should hold the ref until after we've initialized the inode for it. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>