Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
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
zhul
criu
Commits
4e027634
Commit
4e027634
authored
Sep 22, 2015
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mnt: Rename collect_shared and remove unused for_dump argument
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
3dc209e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mount.c
mount.c
+3
-3
No files found.
mount.c
View file @
4e027634
...
...
@@ -911,7 +911,7 @@ static int resolve_external_mounts(struct mount_info *info)
return
0
;
}
static
int
collect_shared
(
struct
mount_info
*
info
,
bool
for_dump
)
static
int
resolve_shared_mounts
(
struct
mount_info
*
info
)
{
struct
mount_info
*
m
,
*
t
;
...
...
@@ -2686,7 +2686,7 @@ static int populate_mnt_ns(void)
if
(
!
pms
)
return
-
1
;
if
(
collect_shared
(
mntinfo
,
false
))
if
(
resolve_shared_mounts
(
mntinfo
))
return
-
1
;
for
(
nsid
=
ns_ids
;
nsid
;
nsid
=
nsid
->
next
)
{
...
...
@@ -2961,7 +2961,7 @@ int collect_mnt_namespaces(bool for_dump)
if
(
arg
.
need_to_validate
)
{
ret
=
-
1
;
if
(
collect_shared
(
mntinfo
,
true
))
if
(
resolve_shared_mounts
(
mntinfo
))
goto
err
;
if
(
validate_mounts
(
mntinfo
,
true
))
goto
err
;
...
...
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