mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
Also do not send junk mount arguments when removing exports.
This commit is contained in:
parent
494ea31a7d
commit
e71171f31b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138680
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user