]> git.hungrycats.org Git - linux/commit
btrfs: hold a ref on the root in btrfs_recover_log_trees
authorJosef Bacik <josef@toxicpanda.com>
Wed, 20 Nov 2019 20:34:12 +0000 (12:34 -0800)
committerJosef Bacik <josef@toxicpanda.com>
Fri, 6 Dec 2019 16:34:48 +0000 (08:34 -0800)
commitb25a4a1204e27ec909d5b5f9a2970f03e2222da9
tree189708ace3ca002e2bcf8577ae8cf1eed72bbf7a
parent3b00b531c16e91ee4a36d9245fda86f6743b1e39
btrfs: hold a ref on the root in btrfs_recover_log_trees

We replay the log into arbitrary fs roots, hold a ref on the root while
we're doing this.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
fs/btrfs/tree-log.c