summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-03 17:29:05 +0100
committerMark Brown <broonie@linaro.org>2013-10-03 17:29:05 +0100
commit8e9c4aa4e7bd600d30e15ec82be9b670a1ec3da9 (patch)
tree3b19eb54c684e36feab568078018dea31c43a79f /fs/btrfs/disk-io.c
parentd60336e2f136287de821901d4a1b56179a0f7b69 (diff)
parent1d73ad298d1bfeee5d77c19e5cd667c551e30632 (diff)
Merge remote-tracking branch 'asoc/fix/fsl' into asoc-fsl
Conflicts: sound/soc/fsl/fsl_ssi.c
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 4cbb00af92ff..4ae17ed13b32 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -157,6 +157,7 @@ static struct btrfs_lockdep_keyset {
{ .id = BTRFS_TREE_LOG_OBJECTID, .name_stem = "log" },
{ .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 = 0, .name_stem = "tree" },
};
@@ -3415,6 +3416,7 @@ static int write_all_supers(struct btrfs_root *root, int max_mirrors)
if (total_errors > max_errors) {
printk(KERN_ERR "btrfs: %d errors while writing supers\n",
total_errors);
+ mutex_unlock(&root->fs_info->fs_devices->device_list_mutex);
/* FUA is masked off if unsupported and can't be the reason */
btrfs_error(root->fs_info, -EIO,