diff options
author | Shaohua Li <shli@fb.com> | 2015-05-08 10:51:28 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-08 14:17:14 -0600 |
commit | dd6cf3e18decb4895503db1752bb5500c4dd588d (patch) | |
tree | 14caffdac252bbebf68678b808e22ca13f7a3302 /drivers/input | |
parent | nbd: stop using req->cmd (diff) | |
download | linux-dev-dd6cf3e18decb4895503db1752bb5500c4dd588d.tar.xz linux-dev-dd6cf3e18decb4895503db1752bb5500c4dd588d.zip |
blk: clean up plug
Current code looks like inner plug gets flushed with a
blk_finish_plug(). Actually it's a nop. All requests/callbacks are added
to current->plug, while only outmost plug is assigned to current->plug.
So inner plug always has empty request/callback list, which makes
blk_flush_plug_list() a nop. This tries to make the code more clear.
Signed-off-by: Shaohua Li <shli@fb.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions