summaryrefslogtreecommitdiffstats
path: root/utils/nfsd/nfsd.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-08-01 07:21:26 -0400
committerSteve Dickson <steved@redhat.com>2009-08-01 07:21:26 -0400
commit775dea70ccc7556ac613def7896b3d3c1ff85ab5 (patch)
tree4b543c7d26a630f01f1c02f1f4fb2bce393c9fc8 /utils/nfsd/nfsd.c
parent0d53a1d0ff5635d3af2f0d10e1f00f5de1353490 (diff)
downloadnfs-utils-775dea70ccc7556ac613def7896b3d3c1ff85ab5.tar.gz
nfs-utils-775dea70ccc7556ac613def7896b3d3c1ff85ab5.tar.xz
nfs-utils-775dea70ccc7556ac613def7896b3d3c1ff85ab5.zip
nfs-utils: declare a static common buffer for nfssvc.c routines
Several of the routines in nfssvc.c declare a buffer for strings. Use a shared static buffer instead to keep it off of the stack. Also, the buffer allocated in some places is *really* large. BUFSIZ is generally 8k. These routines don't need nearly that much. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/nfsd/nfsd.c')
0 files changed, 0 insertions, 0 deletions