mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
block/blk-iopoll.c: use iop instead of iopoll
All blk_iopoll functions use iop for parent iopoll structure except blk_iopoll_complete.This also fixes one kernel-doc warning. Cc: Jens Axboe <axboe@kernel.dk> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
74814b1c55
commit
5214e33c8e
1 changed files with 2 additions and 2 deletions
|
@ -64,12 +64,12 @@ EXPORT_SYMBOL(__blk_iopoll_complete);
|
||||||
* iopoll handler will not be invoked again before blk_iopoll_sched_prep()
|
* iopoll handler will not be invoked again before blk_iopoll_sched_prep()
|
||||||
* is called.
|
* is called.
|
||||||
**/
|
**/
|
||||||
void blk_iopoll_complete(struct blk_iopoll *iopoll)
|
void blk_iopoll_complete(struct blk_iopoll *iop)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
local_irq_save(flags);
|
local_irq_save(flags);
|
||||||
__blk_iopoll_complete(iopoll);
|
__blk_iopoll_complete(iop);
|
||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(blk_iopoll_complete);
|
EXPORT_SYMBOL(blk_iopoll_complete);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue