]> err.no Git - linux-2.6/commit
svc: Change sk_inuse to a kref
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:07:46 +0000 (21:07 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:11 +0000 (16:42 -0500)
commite1b3157f9710622bad6c7747d3b08ed3d2394cf6
treee03687e0363fdb2307f7e4909a735e8d1331050a
parentd7c9f1ed972b4a468dd24a2457721704dfe9ca70
svc: Change sk_inuse to a kref

Change the atomic_t reference count to a kref and move it to the
transport indepenent svc_xprt structure. Change the reference count
wrapper names to be generic.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/svc_xprt.h
include/linux/sunrpc/svcsock.h
net/sunrpc/svc_xprt.c
net/sunrpc/svcsock.c