summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
authorFred Isaman <iisaman@citi.umich.edu>2007-02-27 15:31:04 +1100
committerNeil Brown <neilb@suse.de>2007-02-27 15:31:04 +1100
commit5fe51292e188a4a78dea81c2c13f2dbe614a2536 (patch)
treefa4048cd933a2a38a93a092fce9f4e0a501d2612 /support/export/export.c
parentdf28816565a26386690662ace4d38bb00e090297 (diff)
downloadnfs-utils-5fe51292e188a4a78dea81c2c13f2dbe614a2536.tar.gz
nfs-utils-5fe51292e188a4a78dea81c2c13f2dbe614a2536.tar.xz
nfs-utils-5fe51292e188a4a78dea81c2c13f2dbe614a2536.zip
Extend the exportfs/mountd interface to pass fslocations info into the kernel
Fix up a few issues with the fsloc code. Signed-off-by: Fred Isaman <iisaman@citi.umich.edu> Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/export/export.c')
-rw-r--r--support/export/export.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/export/export.c b/support/export/export.c
index cfb6681..a4b0788 100644
--- a/support/export/export.c
+++ b/support/export/export.c
@@ -240,6 +240,8 @@ export_freeall(void)
xfree(exp->m_export.e_sqgids);
if (exp->m_export.e_mountpoint)
free(exp->m_export.e_mountpoint);
+ if (exp->m_export.e_fslocdata)
+ xfree(exp->m_export.e_fslocdata);
xfree(exp);
}
exportlist[i] = NULL;