]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Revert "btrfs: export btrfs_snapshot_wrapper()"
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 15 Aug 2017 16:13:48 +0000 (18:13 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 15 Aug 2017 16:45:13 +0000 (18:45 +0200)
This reverts commit 707f3fff59abe5db1033b4676e0063b35cfedd7b.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/bdev/lxcbtrfs.c
src/lxc/bdev/lxcbtrfs.h

index 8ab16beab46f6efd24c727be2cc870d4ec6afeb9..9a40512833f64130f60acde700cceec591e63f1d 100644 (file)
@@ -346,7 +346,7 @@ out:
        return ret;
 }
 
-int btrfs_snapshot_wrapper(void *data)
+static int btrfs_snapshot_wrapper(void *data)
 {
        char *src;
        struct rsync_data_char *arg = data;
index b2ebb373971fa60c9ca860674ecd589c9b544dd6..ebd8421e18e555e38cf99eb7381092b3d6aa6c2f 100644 (file)
@@ -412,6 +412,5 @@ int is_btrfs_subvol(const char *path);
 bool btrfs_try_remove_subvol(const char *path);
 int btrfs_same_fs(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