]> git.hungrycats.org Git - linux/commit
btrfs: hold a ref on the root in find_data_references
authorJosef Bacik <josef@toxicpanda.com>
Wed, 20 Nov 2019 19:53:54 +0000 (11:53 -0800)
committerJosef Bacik <josef@toxicpanda.com>
Fri, 6 Dec 2019 16:34:48 +0000 (08:34 -0800)
commit1c33f77260e8b7ad2d97dca42859b5cf68449e3e
tree94cd678bb5c68557e736e3280af9c4b60627687b
parent0b41c3eefd917424c3efb1a0ffdf33c83cb3049c
btrfs: hold a ref on the root in find_data_references

We're looking up the data references for the bytenr in a root, we need
to hold a ref on that root while we're doing that.

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