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
61ef7bcc
Commit
61ef7bcc
authored
Sep 26, 2015
by
Serge Hallyn
Committed by
Stéphane Graber
Sep 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coverity: drop second (redundant) block
Don't proceed to try the mount if we failed to create the target if it didn't exist. Signed-off-by:
Serge Hallyn
<
serge.hallyn@ubuntu.com
>
parent
6de26af9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
conf.c
src/lxc/conf.c
+0
-3
No files found.
src/lxc/conf.c
View file @
61ef7bcc
...
@@ -1852,9 +1852,6 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
...
@@ -1852,9 +1852,6 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
if
(
ret
<
0
)
if
(
ret
<
0
)
return
optional
?
0
:
-
1
;
return
optional
?
0
:
-
1
;
if
(
ret
<
0
&&
!
optional
)
return
-
1
;
cull_mntent_opt
(
mntent
);
cull_mntent_opt
(
mntent
);
if
(
parse_mntopts
(
mntent
->
mnt_opts
,
&
mntflags
,
&
mntdata
)
<
0
)
{
if
(
parse_mntopts
(
mntent
->
mnt_opts
,
&
mntflags
,
&
mntdata
)
<
0
)
{
...
...
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