summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io/tpax_create_memory_snapshot.c (renamed from src/logic/tpax_file_create_memory_snapshot.c)2
-rw-r--r--src/io/tpax_create_tmpfs_snapshot.c (renamed from src/logic/tpax_file_create_tmpfs_snapshot.c)2
-rw-r--r--src/logic/tpax_archive_write.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/logic/tpax_file_create_memory_snapshot.c b/src/io/tpax_create_memory_snapshot.c
index 504a4a1..7c3dd7e 100644
--- a/src/logic/tpax_file_create_memory_snapshot.c
+++ b/src/io/tpax_create_memory_snapshot.c
@@ -23,7 +23,7 @@
#define ssizeof(x) (ssize_t)(sizeof(x))
#endif
-int tpax_file_create_memory_snapshot(
+int tpax_io_create_memory_snapshot(
const struct tpax_driver_ctx * dctx,
int fdat,
const char * path,
diff --git a/src/logic/tpax_file_create_tmpfs_snapshot.c b/src/io/tpax_create_tmpfs_snapshot.c
index 2e92211..9891e98 100644
--- a/src/logic/tpax_file_create_tmpfs_snapshot.c
+++ b/src/io/tpax_create_tmpfs_snapshot.c
@@ -24,7 +24,7 @@
#define ssizeof(x) (ssize_t)(sizeof(x))
#endif
-int tpax_file_create_tmpfs_snapshot(
+int tpax_io_create_tmpfs_snapshot(
const struct tpax_driver_ctx * dctx,
int fdat,
const char * path,
diff --git a/src/logic/tpax_archive_write.c b/src/logic/tpax_archive_write.c
index c5109d3..5214787 100644
--- a/src/logic/tpax_archive_write.c
+++ b/src/logic/tpax_archive_write.c
@@ -130,14 +130,14 @@ static int tpax_archive_write_impl(
/* snapshot */
if (membuf) {
- if (tpax_file_create_memory_snapshot(
+ if (tpax_io_create_memory_snapshot(
dctx,fdcwd,path,
uctx->st,membuf) < 0)
return tpax_archive_write_ret(
TPAX_NESTED_ERROR(dctx),
uctx);
} else {
- if ((fdtmp = tpax_file_create_tmpfs_snapshot(
+ if ((fdtmp = tpax_io_create_tmpfs_snapshot(
dctx,fdcwd,path,
uctx->st)) < 0)
return tpax_archive_write_ret(