summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-03-23 17:14:20 +0100
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-03-27 14:51:17 +0200
commite565d4b962948e70f37f417603caf131a773621b (patch)
treee29c3f956cfae30d4b455801579e20b64fd060e3 /fs/btrfs/super.c
parenta175423c831ea582c06784d1e172d2ce1d79923a (diff)
downloadlinux-stable-e565d4b962948e70f37f417603caf131a773621b.tar.gz
linux-stable-e565d4b962948e70f37f417603caf131a773621b.tar.bz2
linux-stable-e565d4b962948e70f37f417603caf131a773621b.zip
Btrfs: actually call btrfs_init_lockdep
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 61717a4eb14f..5239003d453e 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -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;