btrfs: move the lockdep helpers into locking.h
authorJosef Bacik <josef@toxicpanda.com>
Mon, 24 Oct 2022 18:46:53 +0000 (14:46 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:44 +0000 (18:00 +0100)
commiteb33a4d65b2adae52530d6c3c7a9f58bf734a750
tree3bd2e870553217881a0174d733fdc4933ab3282c
parenta56159d4080b793ee8dc3d3d315579801ad9096c
btrfs: move the lockdep helpers into locking.h

These more naturally fit in with the locking related code, and they're
all defines so they can easily go anywhere, move them out of ctree.h
into locking.h

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/ctree.h
fs/btrfs/locking.h