SUNRPC: Clean up svc_find_xprt() calling sequence
authorChuck Lever <chuck.lever@oracle.com>
Thu, 19 Mar 2009 00:45:58 +0000 (20:45 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 28 Mar 2009 19:53:57 +0000 (15:53 -0400)
commit156e62094a74cf43f02f56ef96b6cda567501357
tree100fdf25a7f13f8c2ebebd241d02a9ed46e89292
parentadbbe929569e6eec8ff9feca23f1f2b40b42853d
SUNRPC: Clean up svc_find_xprt() calling sequence

Clean up: add documentating comment and use appropriate data types for
svc_find_xprt()'s arguments.

This also eliminates a mixed sign comparison: @port was an int, while
the return value of svc_xprt_local_port() is an unsigned short.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc_xprt.c