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
14e5cdcb
Commit
14e5cdcb
authored
Apr 09, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
files: Remove dead desc opening code
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
f560ddea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
files.c
files.c
+0
-22
No files found.
files.c
View file @
14e5cdcb
...
...
@@ -101,14 +101,6 @@ void show_saved_files(void)
}
}
static
struct
reg_file_info
*
find_reg_file
(
int
id
)
{
struct
file_desc
*
fd
;
fd
=
find_file_desc_raw
(
FDINFO_REG
,
id
);
return
container_of
(
fd
,
struct
reg_file_info
,
d
);
}
static
int
open_fe_fd
(
struct
file_desc
*
d
);
static
struct
file_desc_ops
reg_desc_ops
=
{
...
...
@@ -255,20 +247,6 @@ int open_reg_by_id(u32 id)
return
open_fe_fd
(
fd
);
}
static
int
find_open_fe_fd
(
struct
fdinfo_entry
*
fe
)
{
struct
reg_file_info
*
rfi
;
int
tmp
;
rfi
=
find_reg_file
(
fe
->
id
);
if
(
!
rfi
)
{
pr_err
(
"Can't find file id %x
\n
"
,
fe
->
id
);
return
-
1
;
}
return
open_fe_fd
(
&
rfi
->
d
);
}
static
void
transport_name_gen
(
struct
sockaddr_un
*
addr
,
int
*
len
,
int
pid
,
long
fd
)
{
...
...
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