Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matisse
android_kernel_samsung_matisse
Commits
79f21b84
Commit
79f21b84
authored
17 years ago
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Download
Email Patches
Plain Diff
ide: use rq->nr_sectors in task_end_request()
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
03c3c70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ide/ide-taskfile.c
drivers/ide/ide-taskfile.c
+2
-2
No files found.
drivers/ide/ide-taskfile.c
View file @
79f21b84
...
...
@@ -424,9 +424,9 @@ static void task_end_request(ide_drive_t *drive, struct request *rq, u8 stat)
ide_driver_t
*
drv
;
drv
=
*
(
ide_driver_t
**
)
rq
->
rq_disk
->
private_data
;;
drv
->
end_request
(
drive
,
1
,
rq
->
hard_
nr_sectors
);
drv
->
end_request
(
drive
,
1
,
rq
->
nr_sectors
);
}
else
ide_end_request
(
drive
,
1
,
rq
->
hard_
nr_sectors
);
ide_end_request
(
drive
,
1
,
rq
->
nr_sectors
);
}
/*
...
...
This diff is collapsed.
Click to expand it.
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