diff options
author | Tejun Heo <tj@kernel.org> | 2013-05-15 00:52:32 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-05-15 00:52:32 +0400 |
commit | 0f3457f60edc57332bf6564fa00d561a4372dcb9 (patch) | |
tree | bcfd3cc85b2acc0df06f7759b58fcf49110d3264 /Documentation/SubmittingDrivers | |
parent | 5b2c16aae0c074c3bb546c4c066ca7064684553c (diff) | |
download | linux-0f3457f60edc57332bf6564fa00d561a4372dcb9.tar.xz |
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 'Documentation/SubmittingDrivers')
0 files changed, 0 insertions, 0 deletions