summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-09-29 14:56:39 +0200
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:53:50 +0100
commitab1405aa2522ae61958fc874432bce24d48942b1 (patch)
treed2a507e3cb1eb5e1e12a78684c298f3f676b9875 /fs/btrfs/super.c
parentbtrfs: use the right number of levels for lockdep keysets (diff)
downloadlinux-ab1405aa2522ae61958fc874432bce24d48942b1.tar.xz
linux-ab1405aa2522ae61958fc874432bce24d48942b1.zip
btrfs: generate lockdep keyset names at compile time
The names in btrfs_lockdep_keysets are generated from a simple pattern using snprintf but we can generate them directly with some macro magic and remove the helpers. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 1ffa50bae1dd..9f51b0a22b14 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2572,8 +2572,6 @@ static int __init init_btrfs_fs(void)
if (err)
goto free_end_io_wq;
- btrfs_init_lockdep();
-
btrfs_print_mod_info();
err = btrfs_run_sanity_tests();