Merge branch 'cleanups-4.7' into for-chris-4.7-20160516
authorDavid Sterba <dsterba@suse.com>
Mon, 16 May 2016 13:46:24 +0000 (15:46 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2016 13:46:24 +0000 (15:46 +0200)
1  2 
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/ioctl.c
fs/btrfs/super.c
fs/btrfs/transaction.c
fs/btrfs/volumes.c

Simple merge
index 070c1dad42bd5a62810aaf3d60ff3b4455af3ecb,4931d3856aa3bce9127300a51f4819f1e439be1c..91d123938cef2db8be94337a534e7a62be714c2a
@@@ -3064,11 -3054,13 +3062,11 @@@ retry_root_backup
                ret = btrfs_cleanup_fs_roots(fs_info);
                if (ret)
                        goto fail_qgroup;
 -
 -              mutex_lock(&fs_info->cleaner_mutex);
 +              /* We locked cleaner_mutex before creating cleaner_kthread. */
                ret = btrfs_recover_relocation(tree_root);
 -              mutex_unlock(&fs_info->cleaner_mutex);
                if (ret < 0) {
-                       printk(KERN_WARNING
-                              "BTRFS: failed to recover relocation\n");
+                       btrfs_warn(fs_info, "failed to recover relocation: %d",
+                                       ret);
                        err = -EINVAL;
                        goto fail_qgroup;
                }
Simple merge
Simple merge
Simple merge
index fe03efb5bec0a218988f7d0cce6c1d96eb12056e,957976d9d627bddf67b729d67e1e0c075578ad12..bc060cf2675cae09c06b6c6ecab7874c622ace14
@@@ -2051,10 -2047,9 +2047,10 @@@ static int btrfs_statfs(struct dentry *
        struct btrfs_block_rsv *block_rsv = &fs_info->global_block_rsv;
        int ret;
        u64 thresh = 0;
 +      int mixed = 0;
  
        /*
-        * holding chunk_muext to avoid allocating new chunks, holding
+        * holding chunk_mutex to avoid allocating new chunks, holding
         * device_list_mutex to avoid the device being removed
         */
        rcu_read_lock();
Simple merge
Simple merge