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
c85ced65
Unverified
Commit
c85ced65
authored
Feb 22, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: cleanup macros setup_mount_entries
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
79bcf5ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
conf.c
src/lxc/conf.c
+2
-6
No files found.
src/lxc/conf.c
View file @
c85ced65
...
@@ -2413,17 +2413,13 @@ static int setup_mount_entries(const struct lxc_conf *conf,
...
@@ -2413,17 +2413,13 @@ static int setup_mount_entries(const struct lxc_conf *conf,
struct
lxc_list
*
mount
,
const
char
*
lxc_name
,
struct
lxc_list
*
mount
,
const
char
*
lxc_name
,
const
char
*
lxc_path
)
const
char
*
lxc_path
)
{
{
int
ret
;
__do_fclose
FILE
*
f
=
NULL
;
FILE
*
f
;
f
=
make_anonymous_mount_file
(
mount
,
conf
->
lsm_aa_allow_nesting
);
f
=
make_anonymous_mount_file
(
mount
,
conf
->
lsm_aa_allow_nesting
);
if
(
!
f
)
if
(
!
f
)
return
-
1
;
return
-
1
;
ret
=
mount_file_entries
(
conf
,
rootfs
,
f
,
lxc_name
,
lxc_path
);
return
mount_file_entries
(
conf
,
rootfs
,
f
,
lxc_name
,
lxc_path
);
fclose
(
f
);
return
ret
;
}
}
static
int
parse_cap
(
const
char
*
cap
)
static
int
parse_cap
(
const
char
*
cap
)
...
...
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