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
nexedi
linux
Commits
c081474c
Commit
c081474c
authored
Jun 16, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge 'for-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/axboe/linux-2.6-block
parents
58125f95
c374f127
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
drivers/block/elevator.c
drivers/block/elevator.c
+1
-8
No files found.
drivers/block/elevator.c
View file @
c081474c
...
@@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e)
...
@@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e)
kfree
(
e
);
kfree
(
e
);
}
}
static
int
elevator_global_init
(
void
)
{
return
0
;
}
int
elv_merge
(
request_queue_t
*
q
,
struct
request
**
req
,
struct
bio
*
bio
)
int
elv_merge
(
request_queue_t
*
q
,
struct
request
**
req
,
struct
bio
*
bio
)
{
{
elevator_t
*
e
=
q
->
elevator
;
elevator_t
*
e
=
q
->
elevator
;
...
@@ -322,7 +317,7 @@ void __elv_add_request(request_queue_t *q, struct request *rq, int where,
...
@@ -322,7 +317,7 @@ void __elv_add_request(request_queue_t *q, struct request *rq, int where,
int
nrq
=
q
->
rq
.
count
[
READ
]
+
q
->
rq
.
count
[
WRITE
]
int
nrq
=
q
->
rq
.
count
[
READ
]
+
q
->
rq
.
count
[
WRITE
]
-
q
->
in_flight
;
-
q
->
in_flight
;
if
(
nrq
=
=
q
->
unplug_thresh
)
if
(
nrq
>
=
q
->
unplug_thresh
)
__generic_unplug_device
(
q
);
__generic_unplug_device
(
q
);
}
}
}
else
}
else
...
@@ -692,8 +687,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name)
...
@@ -692,8 +687,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name)
return
len
;
return
len
;
}
}
module_init
(
elevator_global_init
);
EXPORT_SYMBOL
(
elv_add_request
);
EXPORT_SYMBOL
(
elv_add_request
);
EXPORT_SYMBOL
(
__elv_add_request
);
EXPORT_SYMBOL
(
__elv_add_request
);
EXPORT_SYMBOL
(
elv_requeue_request
);
EXPORT_SYMBOL
(
elv_requeue_request
);
...
...
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