btrfs: add free space tree to lockdep classes
authorDavid Sterba <dsterba@suse.com>
Mon, 25 Jan 2016 15:30:22 +0000 (16:30 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jan 2016 15:48:06 +0000 (16:48 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c

index c67c129fe99a537aa1ec72d76ef111109078c776..ca78bf2ed2870e81fe28690b50e7a2be9d809333 100644 (file)
@@ -176,6 +176,7 @@ static struct btrfs_lockdep_keyset {
        { .id = BTRFS_TREE_RELOC_OBJECTID,      .name_stem = "treloc"   },
        { .id = BTRFS_DATA_RELOC_TREE_OBJECTID, .name_stem = "dreloc"   },
        { .id = BTRFS_UUID_TREE_OBJECTID,       .name_stem = "uuid"     },
+       { .id = BTRFS_FREE_SPACE_TREE_OBJECTID, .name_stem = "free-space" },
        { .id = 0,                              .name_stem = "tree"     },
 };