Also do not send junk mount arguments when removing exports.

This commit is contained in:
phk 2004-12-11 12:51:20 +00:00
parent b733b4afe1
commit fe016ce224

View File

@ -1020,6 +1020,7 @@ get_exportlist()
!strcmp(fsp->f_fstypename, "msdosfs") ||
!strcmp(fsp->f_fstypename, "ntfs") ||
!strcmp(fsp->f_fstypename, "cd9660")) {
bzero(&targs, sizeof targs);
targs.ua.fspec = NULL;
targs.ua.export.ex_flags = MNT_DELEXPORT;
if (mount(fsp->f_fstypename, fsp->f_mntonname,