summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-01-25 16:30:22 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-25 16:48:06 +0100
commit6b20e0ad2e39b77b7d4a48cc06c4de39768c7bb8 (patch)
tree892915061b5715805eadc8589b4ad86e139485c6 /fs
parent79b134a22b6fc45f48bcc1c27d6bf05b3ede5e06 (diff)
downloadlinux-6b20e0ad2e39b77b7d4a48cc06c4de39768c7bb8.tar.bz2
btrfs: add free space tree to lockdep classes
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index c67c129fe99a..ca78bf2ed287 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -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" },
};