OSDN Git Service

Merge tag 'v4.4.214' into 10
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / fs / btrfs / ctree.h
index 4a91d31..0b06d49 100644 (file)
@@ -1576,14 +1576,12 @@ struct btrfs_fs_info {
        struct list_head delayed_iputs;
        struct mutex cleaner_delayed_iput_mutex;
 
-       /* this protects tree_mod_seq_list */
-       spinlock_t tree_mod_seq_lock;
        atomic64_t tree_mod_seq;
-       struct list_head tree_mod_seq_list;
 
-       /* this protects tree_mod_log */
+       /* this protects tree_mod_log and tree_mod_seq_list */
        rwlock_t tree_mod_log_lock;
        struct rb_root tree_mod_log;
+       struct list_head tree_mod_seq_list;
 
        atomic_t nr_async_submits;
        atomic_t async_submit_draining;