From: Tom Tucker Date: Mon, 31 Dec 2007 03:08:33 +0000 (-0600) Subject: svc: Add svc API that queries for a transport instance X-Git-Tag: v2.6.25-rc1~1072^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fcb98d58cb4d18af6386f71025fc5192f25fbca;p=pandora-kernel.git svc: Add svc API that queries for a transport instance Add a new svc function that allows a service to query whether a transport instance has already been created. This is used in lockd to determine whether or not a transport needs to be created when a lockd instance is brought up. Specifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name. Signed-off-by: Tom Tucker Acked-by: Neil Brown Reviewed-by: Chuck Lever Reviewed-by: Greg Banks Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed