btrfs: move lockdep class helpers to locking.c
authorJosef Bacik <josef@toxicpanda.com>
Tue, 26 Jul 2022 20:24:03 +0000 (16:24 -0400)
committerDavid Sterba <dsterba@suse.com>
Wed, 17 Aug 2022 14:19:10 +0000 (16:19 +0200)
commit0a27a0474d146eb79e09ec88bf0d4229f4cfc1b8
tree8848cdfdbf7f0d95d1d9f1318ca55a7310e96714
parent85f02d6c856b9f3a0acf5219de6e32f58b9778eb
btrfs: move lockdep class helpers to locking.c

These definitions exist in disk-io.c, which is not related to the
locking.  Move this over to locking.h/c where it makes more sense.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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/disk-io.h
fs/btrfs/locking.c
fs/btrfs/locking.h