diff options
author | Shaohua Li <[email protected]> | 2015-05-08 10:51:28 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-05-08 14:17:14 -0600 |
commit | dd6cf3e18decb4895503db1752bb5500c4dd588d (patch) | |
tree | 14caffdac252bbebf68678b808e22ca13f7a3302 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 9dc6c806b3c4812619e305685b3c86835bf784ab (diff) |
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 <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions