chiark / gitweb /
importd: add API for exporting container/VM images
[elogind.git] / src / shared / btrfs-util.h
index a2c246b8d604b84b237b4e23881657440b147df2..cb85b71d74e08e68d0782d12f2dc0cc348fed827 100644 (file)
@@ -48,6 +48,8 @@ int btrfs_is_snapshot(int fd);
 int btrfs_subvol_make(const char *path);
 int btrfs_subvol_make_label(const char *path);
 int btrfs_subvol_remove(const char *path);
+
+int btrfs_subvol_snapshot_fd(int old_fd, const char *new_path, bool read_only, bool fallback_copy);
 int btrfs_subvol_snapshot(const char *old_path, const char *new_path, bool read_only, bool fallback_copy);
 
 int btrfs_subvol_set_read_only_fd(int fd, bool b);