From: Tejun Heo Date: Tue, 14 May 2013 20:52:32 +0000 (-0700) Subject: blk-throttle: add backlink pointer from throtl_grp to throtl_data X-Git-Tag: v3.11-rc1~21^2~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f3457f60edc57332bf6564fa00d561a4372dcb9;p=pandora-kernel.git 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 Acked-by: Vivek Goyal --- Reading git-diff-tree failed