summaryrefslogtreecommitdiffstats
path: root/support/export/rmtab.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-09-27 06:53:48 -0400
committerNeil Brown <neilb@suse.de>2007-09-28 11:39:56 +1000
commit1cecd88106230fc9a8c3527bcdf4195150e9ad64 (patch)
tree3bd39cfe875943d46319c045d7de9373c5c5f1a4 /support/export/rmtab.c
parent1992a667c49cdd83ff7d7414a07225fcf34f0ad2 (diff)
downloadnfs-utils-1cecd88106230fc9a8c3527bcdf4195150e9ad64.tar.gz
nfs-utils-1cecd88106230fc9a8c3527bcdf4195150e9ad64.tar.xz
nfs-utils-1cecd88106230fc9a8c3527bcdf4195150e9ad64.zip
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 <jlayton@redhat.com> Acked-by: Steve Dickson <steved@redhat.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/export/rmtab.c')
0 files changed, 0 insertions, 0 deletions