Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c5221eba
Commit
c5221eba
authored
Nov 12, 2002
by
Andrew Morton
Committed by
Linus Torvalds
Nov 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] timers: fs/
ncpfs has a dynamically allocated timer.
parent
a394e99d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fs/ncpfs/inode.c
fs/ncpfs/inode.c
+1
-0
No files found.
fs/ncpfs/inode.c
View file @
c5221eba
...
@@ -572,6 +572,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent)
...
@@ -572,6 +572,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent)
}
else
{
}
else
{
INIT_WORK
(
&
server
->
rcv
.
tq
,
ncpdgram_rcv_proc
,
server
);
INIT_WORK
(
&
server
->
rcv
.
tq
,
ncpdgram_rcv_proc
,
server
);
INIT_WORK
(
&
server
->
timeout_tq
,
ncpdgram_timeout_proc
,
server
);
INIT_WORK
(
&
server
->
timeout_tq
,
ncpdgram_timeout_proc
,
server
);
init_timer
(
&
server
->
timeout_tm
);
server
->
timeout_tm
.
data
=
(
unsigned
long
)
server
;
server
->
timeout_tm
.
data
=
(
unsigned
long
)
server
;
server
->
timeout_tm
.
function
=
ncpdgram_timeout_call
;
server
->
timeout_tm
.
function
=
ncpdgram_timeout_call
;
}
}
...
...
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