]> err.no Git - linux-2.6/commit
SUNRPC: Clean up functions that free address_strings array
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jan 2008 17:32:20 +0000 (12:32 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:06:08 +0000 (02:06 -0500)
commit33e01dc7f578813cda074ceaeaf68b0f3ffcc393
treea1a84d98ae900b8960bd59742f1e2b767e7cb4f8
parentc0e07cb68db353c0ffbb0f82401cf6d79c253aed
SUNRPC: Clean up functions that free address_strings array

Clean up: document the rule (kfree) and the exceptions
(RPC_DISPLAY_PROTO and RPC_DISPLAY_NETID) when freeing the objects in
a transport's address_strings array.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c