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
89492de3
Commit
89492de3
authored
Apr 02, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
files: Real pid on fdinfo_desc is unused
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
66771c8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
files.c
files.c
+0
-2
files.h
include/files.h
+0
-1
No files found.
files.c
View file @
89492de3
...
@@ -338,8 +338,6 @@ static int open_fd(int pid, struct fdinfo_entry *fe,
...
@@ -338,8 +338,6 @@ static int open_fd(int pid, struct fdinfo_entry *fe,
return
-
1
;
return
-
1
;
}
}
futex_set_and_wake
(
&
fi
->
real_pid
,
getpid
());
pr_info
(
"
\t
%d: Create fd for %lx users %d
\n
"
,
pid
,
pr_info
(
"
\t
%d: Create fd for %lx users %d
\n
"
,
pid
,
fe
->
addr
,
futex_get
(
&
fi
->
users
));
fe
->
addr
,
futex_get
(
&
fi
->
users
));
...
...
include/files.h
View file @
89492de3
...
@@ -37,7 +37,6 @@ struct fdinfo_desc {
...
@@ -37,7 +37,6 @@ struct fdinfo_desc {
u32
type
;
u32
type
;
u64
addr
;
u64
addr
;
int
pid
;
int
pid
;
futex_t
real_pid
;
futex_t
users
;
futex_t
users
;
struct
list_head
list
;
struct
list_head
list
;
};
};
...
...
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