Skip to content

Commit

Permalink
Btrfs: actually call btrfs_init_lockdep
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Schmidt committed Mar 27, 2012
1 parent a175423 commit e565d4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e565d4b

Please sign in to comment.