commit | 02162a0265eb56742442ef42c58db8739ddd9b94 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:30 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:27 2020 +0100 |
tree | 812ea11083b5419dd09e061959b7b52b87b0553c | |
parent | bdf70b9e75f54a04941dc450abe61694e03fead4 [diff] |
btrfs: hold a ref on the root in __btrfs_run_defrag_inode We are looking up an arbitrary inode, we need to hold a ref on the root while we're doing this. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>