diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2016-01-06 18:56:36 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2016-01-20 07:22:13 -0800 |
commit | 0bc19f9031e0c59770286f82b8561c1d35064a65 (patch) | |
tree | 2469a01dbf180d1e95d6aebd5f61271dd877ea0a /fs/btrfs/ctree.h | |
parent | ee22f0c4ec428e7f16d3c5fa1d55fd7860cb304a (diff) | |
download | lwn-0bc19f9031e0c59770286f82b8561c1d35064a65.tar.gz lwn-0bc19f9031e0c59770286f82b8561c1d35064a65.zip |
btrfs: merge functions for wait snapshot creation
wait_for_snapshot_creation() is in same group with oher two:
btrfs_start_write_no_snapshoting()
btrfs_end_write_no_snapshoting()
Rename wait_for_snapshot_creation() and move it into same place
with other two.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e9c2f8895eab..a9496644f47d 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3641,6 +3641,7 @@ int btrfs_delayed_refs_qgroup_accounting(struct btrfs_trans_handle *trans, int __get_raid_index(u64 flags); int btrfs_start_write_no_snapshoting(struct btrfs_root *root); void btrfs_end_write_no_snapshoting(struct btrfs_root *root); +void btrfs_wait_for_snapshot_creation(struct btrfs_root *root); void check_system_chunk(struct btrfs_trans_handle *trans, struct btrfs_root *root, const u64 type); |