]> Pileus Git - ~andy/linux/commitdiff
Btrfs: actually call btrfs_init_lockdep
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Fri, 23 Mar 2012 16:14:20 +0000 (17:14 +0100)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Tue, 27 Mar 2012 12:51:17 +0000 (14:51 +0200)
btrfs_init_lockdep only makes our lockdep class names look prettier, thus
it did never hurt we forgot to actually call it. This turns our lockdep
identifier strings from lockdep auto-set #[id] into really pretty
"btrfs-fs-01" or "btrfs-csum-03".

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/super.c

index 61717a4eb14f78e3aee3902a38659a754637767d..5239003d453eed85ef82b6c2f9a5412f9607a922 100644 (file)
@@ -1404,6 +1404,8 @@ static int __init init_btrfs_fs(void)
        if (err)
                goto unregister_ioctl;
 
+       btrfs_init_lockdep();
+
        printk(KERN_INFO "%s loaded\n", BTRFS_BUILD_VERSION);
        return 0;