block/blk-iopoll.c: use iop instead of iopoll
authorFabian Frederick <fabf@skynet.be>
Fri, 2 May 2014 16:21:45 +0000 (18:21 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 2 May 2014 17:37:41 +0000 (11:37 -0600)
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>
block/blk-iopoll.c

index c11d24e379e2a4b89caf1936d4433773caef1bdc..d828b44a404b4f5abc35d7760346870a3902a911 100644 (file)
@@ -64,12 +64,12 @@ EXPORT_SYMBOL(__blk_iopoll_complete);
  *     iopoll handler will not be invoked again before blk_iopoll_sched_prep()
  *     is called.
  **/
-void blk_iopoll_complete(struct blk_iopoll *iopoll)
+void blk_iopoll_complete(struct blk_iopoll *iop)
 {
        unsigned long flags;
 
        local_irq_save(flags);
-       __blk_iopoll_complete(iopoll);
+       __blk_iopoll_complete(iop);
        local_irq_restore(flags);
 }
 EXPORT_SYMBOL(blk_iopoll_complete);