]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: move lockdep class setting out of extent_io_tree_init
authorDavid Sterba <dsterba@suse.com>
Tue, 21 Nov 2023 13:20:15 +0000 (14:20 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:02 +0000 (20:27 +0100)
commit516095cdf07af0c7223681079d87e9c42c7cf599
tree1067449875682e918596404fafe8306d29784b42
parent71fca47b644910485c49d1da31bc963cf286fe77
btrfs: move lockdep class setting out of extent_io_tree_init

The per-inode file extent tree was added in 41a2ee75aab0 ("btrfs:
introduce per-inode file extent tree"), it's the only tree type
that requires the lockdep class. Move it to the file where it is
actually used.

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