diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-09-01 18:36:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-09-01 18:36:45 -0700 |
commit | dcdfd9cc28ddd356d24d5461119e4c1d19284ff5 (patch) | |
tree | a1fb7b8e52deeacbd638794a3ba96c684ca8256e /fs/btrfs/extent-tree.c | |
parent | b765a32a2e9170702467747e290614be072c4f76 (diff) | |
parent | f96d6960abbc52e26ad124e69e6815283d3e1674 (diff) | |
download | linux-dcdfd9cc28ddd356d24d5461119e4c1d19284ff5.tar.gz linux-dcdfd9cc28ddd356d24d5461119e4c1d19284ff5.tar.bz2 linux-dcdfd9cc28ddd356d24d5461119e4c1d19284ff5.zip |
Merge tag 'for-5.9-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
"Two small fixes and a bunch of lockdep fixes for warnings that show up
with an upcoming tree locking update but are valid with current locks
as well"
* tag 'for-5.9-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: tree-checker: fix the error message for transid error
btrfs: set the lockdep class for log tree extent buffers
btrfs: set the correct lockdep class for new nodes
btrfs: allocate scrub workqueues outside of locks
btrfs: fix potential deadlock in the search ioctl
btrfs: drop path before adding new uuid tree entry
btrfs: block-group: fix free-space bitmap threshold
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 5871ef78edba..e9eedc053fc5 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -4527,7 +4527,7 @@ btrfs_init_new_buffer(struct btrfs_trans_handle *trans, struct btrfs_root *root, return ERR_PTR(-EUCLEAN); } - btrfs_set_buffer_lockdep_class(root->root_key.objectid, buf, level); + btrfs_set_buffer_lockdep_class(owner, buf, level); btrfs_tree_lock(buf); btrfs_clean_tree_block(buf); clear_bit(EXTENT_BUFFER_STALE, &buf->bflags); |