]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5080205cbee2764e9d8aaf4ef21f973ad87c87de
tree8848cdfdbf7f0d95d1d9f1318ca55a7310e96714
parent6d6410e101efe469d0272c2efd3daaaed8cccde0
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