]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/btrfs/disk-io.c
Merge remote-tracking branches 'asoc/fix/db1200', 'asoc/fix/dwc', 'asoc/fix/imx-ssi...
[linux-beck.git] / fs / btrfs / disk-io.c
index 0d98aee34fee8f716771e46a70cbee478ac27e2d..295795aebe0b42330cc1147e02340eb2c59f1d7b 100644 (file)
@@ -3765,9 +3765,7 @@ void close_ctree(struct btrfs_root *root)
                 * block groups queued for removal, the deletion will be
                 * skipped when we quit the cleaner thread.
                 */
-               mutex_lock(&root->fs_info->cleaner_mutex);
                btrfs_delete_unused_bgs(root->fs_info);
-               mutex_unlock(&root->fs_info->cleaner_mutex);
 
                ret = btrfs_commit_super(root);
                if (ret)