commit | 3ca35e839e949811c7e35b7ef786de225a1c5008 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:33 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:28 2020 +0100 |
tree | 1f1c95838979694b8ef11fb4186021fee0fc021c | |
parent | fc92f79856aaf4edb51ef8ca7650747df34b6dd6 [diff] |
btrfs: hold a ref on the root in search_ioctl We lookup a arbitrary fs root, we need to hold a ref on that root. If we're using our own inodes root then grab a ref on that as well to make the cleanup easier. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>