From: Tom Tucker Date: Mon, 31 Dec 2007 03:08:08 +0000 (-0600) Subject: svc: Move the authinfo cache to svc_xprt. X-Git-Tag: v2.6.25-rc1~1072^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=def13d7401e9b95bbd34c20057ebeb2972708b1b;p=pandora-kernel.git svc: Move the authinfo cache to svc_xprt. Move the authinfo cache to svc_xprt. This allows both the TCP and RDMA transports to share this logic. A flag bit is used to determine if auth information is to be cached or not. Previously, this code looked at the transport protocol. I've also changed the spin_lock/unlock logic so that a lock is not taken for transports that are not caching auth info. 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