diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /fs/btrfs/ctree.h | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 2fe8f89091a3..eff3993c77b3 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -1028,6 +1028,7 @@ struct btrfs_fs_info { | |||
1028 | struct btrfs_workqueue *qgroup_rescan_workers; | 1028 | struct btrfs_workqueue *qgroup_rescan_workers; |
1029 | struct completion qgroup_rescan_completion; | 1029 | struct completion qgroup_rescan_completion; |
1030 | struct btrfs_work qgroup_rescan_work; | 1030 | struct btrfs_work qgroup_rescan_work; |
1031 | bool qgroup_rescan_running; /* protected by qgroup_rescan_lock */ | ||
1031 | 1032 | ||
1032 | /* filesystem state */ | 1033 | /* filesystem state */ |
1033 | unsigned long fs_state; | 1034 | unsigned long fs_state; |
@@ -1079,6 +1080,8 @@ struct btrfs_fs_info { | |||
1079 | struct list_head pinned_chunks; | 1080 | struct list_head pinned_chunks; |
1080 | 1081 | ||
1081 | int creating_free_space_tree; | 1082 | int creating_free_space_tree; |
1083 | /* Used to record internally whether fs has been frozen */ | ||
1084 | int fs_frozen; | ||
1082 | }; | 1085 | }; |
1083 | 1086 | ||
1084 | struct btrfs_subvolume_writers { | 1087 | struct btrfs_subvolume_writers { |
@@ -2578,7 +2581,7 @@ int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans, | |||
2578 | struct btrfs_root *root, | 2581 | struct btrfs_root *root, |
2579 | u64 root_objectid, u64 owner, u64 offset, | 2582 | u64 root_objectid, u64 owner, u64 offset, |
2580 | struct btrfs_key *ins); | 2583 | struct btrfs_key *ins); |
2581 | int btrfs_reserve_extent(struct btrfs_root *root, u64 num_bytes, | 2584 | int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes, |
2582 | u64 min_alloc_size, u64 empty_size, u64 hint_byte, | 2585 | u64 min_alloc_size, u64 empty_size, u64 hint_byte, |
2583 | struct btrfs_key *ins, int is_data, int delalloc); | 2586 | struct btrfs_key *ins, int is_data, int delalloc); |
2584 | int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, | 2587 | int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, |