summaryrefslogtreecommitdiffstats
path: root/support/nfs
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-10-19 10:27:26 -0400
committerSteve Dickson <steved@redhat.com>2012-10-22 09:44:02 -0400
commitfb62e4dcce82cd46e9129d8325fff3e0640941e9 (patch)
tree03b0908ffd2b8335ec4c346f2d17a0d9c579bd67 /support/nfs
parenta8dcaa282122b5db8f4ffb7e5d99b2c4b62cbb78 (diff)
downloadnfs-utils-fb62e4dcce82cd46e9129d8325fff3e0640941e9.tar.gz
nfs-utils-fb62e4dcce82cd46e9129d8325fff3e0640941e9.tar.xz
nfs-utils-fb62e4dcce82cd46e9129d8325fff3e0640941e9.zip
mountd: Set e_fslocdata field directly
To create an export entry for a junction, an options string is constructed from the set of locations in the junction. This options string is then passed to mkexportent() where it is parsed and converted into an exportent. There is only one export option that is used to create a junction's exportent: "refer=". When that option is parsed, it's value is simply copied to a fresh string and planted in the new export's e_fslocdata field. Let's avoid the option parsing and extra string copy. Construct a string for the new e_fslocdata field and plant it in the exportent directly. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs')
0 files changed, 0 insertions, 0 deletions