summaryrefslogtreecommitdiffstats
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-05-14 13:52:32 -0700
committerTejun Heo <tj@kernel.org>2013-05-14 13:52:32 -0700
commit0f3457f60edc57332bf6564fa00d561a4372dcb9 (patch)
treebcfd3cc85b2acc0df06f7759b58fcf49110d3264 /block/blk-integrity.c
parent5b2c16aae0c074c3bb546c4c066ca7064684553c (diff)
downloadlinux-0f3457f60edc57332bf6564fa00d561a4372dcb9.tar.gz
linux-0f3457f60edc57332bf6564fa00d561a4372dcb9.tar.bz2
linux-0f3457f60edc57332bf6564fa00d561a4372dcb9.zip
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 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions