btrfs: merge functions for wait snapshot creation
authorZhao Lei <zhaolei@cn.fujitsu.com>
Wed, 6 Jan 2016 10:56:36 +0000 (18:56 +0800)
committerChris Mason <clm@fb.com>
Wed, 20 Jan 2016 15:22:13 +0000 (07:22 -0800)
commit0bc19f9031e0c59770286f82b8561c1d35064a65
tree2469a01dbf180d1e95d6aebd5f61271dd877ea0a
parentee22f0c4ec428e7f16d3c5fa1d55fd7860cb304a
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>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/inode.c