]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't init io tree with private data for non-inodes
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:48 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:05 +0000 (12:28 +0200)
commitefb0645bd9dfd1cbfaab766444de4748556dc103
tree0996571b53d04e73c4ff79b58bca63dd36b3a11c
parentbd015294af4d919f94ede252e035f3c11638ea1f
btrfs: don't init io tree with private data for non-inodes

We only use this for normal inodes, so don't set it if we're not a
normal inode.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/inode.c
fs/btrfs/transaction.c