From: Pavel Emelyanov Date: Sun, 11 Nov 2007 06:07:13 +0000 (-0800) Subject: [AF_UNIX]: Convert socks to unix_socks in scan_inflight, not in callbacks X-Git-Tag: v2.6.24-rc3~155^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c80f1ae9842a8b7985acd0f02efb9828effb05f;p=pandora-kernel.git [AF_UNIX]: Convert socks to unix_socks in scan_inflight, not in callbacks The scan_inflight() routine scans through the unix sockets and calls some passed callback. The fact is that all these callbacks work with the unix_sock objects, not the sock ones, so make this conversion in the scan_inflight() before calling the callbacks. This removes one unneeded variable from the inc_inflight_move_tail(). Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed