diff options
| author | Tejun Heo <tj@kernel.org> | 2013-05-14 13:52:32 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-18 12:46:11 +0200 |
| commit | 631295d8208c5b69c59e56f5f17cff1fa144bb97 (patch) | |
| tree | 36255313ae6030455ef0bbf25db999f1266eb05d /scripts/ver_linux | |
| parent | 62fc1bc248f625564e16723ed7cc48cfe9af8a70 (diff) | |
blk-throttle: add backlink pointer from throtl_grp to throtl_data
Add throtl_grp->td so that the td (throtl_data) a given tg
(throtl_grp) belongs to can be determined, and remove @td argument
from functions which take both @td and @tg as the former now can be
determined from the latter.
This generally simplifies the code and removes a number of cases where
@td is passed as an argument without being actually used. This will
also help hierarchy support implementation.
While at it, in multi-line conditions, move the logical operators
leading broken lines to the end of the previous line.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions
