Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
707f3fff
Unverified
Commit
707f3fff
authored
Jul 16, 2017
by
Christian Brauner
Committed by
Stéphane Graber
Aug 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: export btrfs_snapshot_wrapper()
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
fb49a3cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
lxcbtrfs.c
src/lxc/bdev/lxcbtrfs.c
+1
-1
lxcbtrfs.h
src/lxc/bdev/lxcbtrfs.h
+1
-0
No files found.
src/lxc/bdev/lxcbtrfs.c
View file @
707f3fff
...
@@ -346,7 +346,7 @@ out:
...
@@ -346,7 +346,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
;
...
...
src/lxc/bdev/lxcbtrfs.h
View file @
707f3fff
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment