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
fd214f37
Unverified
Commit
fd214f37
authored
Feb 19, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: cleanup macros mount_entry_on_generic
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
7a76eeaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
conf.c
src/lxc/conf.c
+1
-2
No files found.
src/lxc/conf.c
View file @
fd214f37
...
@@ -2187,9 +2187,9 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
...
@@ -2187,9 +2187,9 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
const
char
*
lxc_name
,
const
char
*
lxc_name
,
const
char
*
lxc_path
)
const
char
*
lxc_path
)
{
{
__do_free
char
*
mntdata
=
NULL
;
int
ret
;
int
ret
;
unsigned
long
mntflags
;
unsigned
long
mntflags
;
char
*
mntdata
;
bool
dev
,
optional
,
relative
;
bool
dev
,
optional
,
relative
;
unsigned
long
pflags
=
0
;
unsigned
long
pflags
=
0
;
char
*
rootfs_path
=
NULL
;
char
*
rootfs_path
=
NULL
;
...
@@ -2222,7 +2222,6 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
...
@@ -2222,7 +2222,6 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
ret
=
mount_entry
(
mntent
->
mnt_fsname
,
path
,
mntent
->
mnt_type
,
mntflags
,
ret
=
mount_entry
(
mntent
->
mnt_fsname
,
path
,
mntent
->
mnt_type
,
mntflags
,
pflags
,
mntdata
,
optional
,
dev
,
relative
,
rootfs_path
);
pflags
,
mntdata
,
optional
,
dev
,
relative
,
rootfs_path
);
free
(
mntdata
);
return
ret
;
return
ret
;
}
}
...
...
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