summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-10-19 10:25:14 -0400
committerSteve Dickson <steved@redhat.com>2012-10-22 09:44:02 -0400
commita8dcaa282122b5db8f4ffb7e5d99b2c4b62cbb78 (patch)
tree48a5a53a937ceb4fe1c37a1db9ea6873aa1e33d1 /tools
parentd69795533b0c8906e42aa2eb1cf4628cda42a766 (diff)
downloadnfs-utils-a8dcaa282122b5db8f4ffb7e5d99b2c4b62cbb78.tar.gz
nfs-utils-a8dcaa282122b5db8f4ffb7e5d99b2c4b62cbb78.tar.xz
nfs-utils-a8dcaa282122b5db8f4ffb7e5d99b2c4b62cbb78.zip
mountd: Use static buffer when constructing junction export options
Clean up: Simplify locations_to_export() by constructing a junction's export options in a static buffer. We can do this because all of this code is called serially, in one thread, and the result is thrown away immediately after the caller is finished. The returned exportent itself is static. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions