From: Jeff Layton Date: Thu, 27 Sep 2007 10:53:48 +0000 (-0400) Subject: rpc.mountd: Change nfs_client->m_hostname to be a dynamically-allocated string X-Git-Tag: nfs-utils-1-1-1~39 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=1cecd88106230fc9a8c3527bcdf4195150e9ad64;hp=1cecd88106230fc9a8c3527bcdf4195150e9ad64 rpc.mountd: Change nfs_client->m_hostname to be a dynamically-allocated string Change nfs_client->m_hostname to be dynamically allocated rather than a fixed length array of size NFSCLNT_IDMAX. This also adds a bit of micro-optimization in a few places since it reduces the amount of string copying that needs to be done. Signed-off-by: Jeff Layton Acked-by: Steve Dickson Signed-off-by: Neil Brown ---