btrfs: export btrfs_snapshot_wrapper()

parent 9edcd5ab
...@@ -349,7 +349,7 @@ out: ...@@ -349,7 +349,7 @@ out:
return ret; return ret;
} }
static int btrfs_snapshot_wrapper(void *data) int btrfs_snapshot_wrapper(void *data)
{ {
char *src; char *src;
struct rsync_data_char *arg = data; struct rsync_data_char *arg = data;
......
...@@ -412,5 +412,6 @@ int is_btrfs_subvol(const char *path); ...@@ -412,5 +412,6 @@ int is_btrfs_subvol(const char *path);
bool btrfs_try_remove_subvol(const char *path); bool btrfs_try_remove_subvol(const char *path);
int btrfs_same_fs(const char *orig, const char *new); int btrfs_same_fs(const char *orig, const char *new);
int btrfs_snapshot(const char *orig, const char *new); int btrfs_snapshot(const char *orig, const char *new);
int btrfs_snapshot_wrapper(void *data);
#endif // __LXC_BTRFS_H #endif // __LXC_BTRFS_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment