cvs commit: src/sys/kern vfs_export.c
Eric Anderson
anderson at centtech.com
Sat Dec 16 21:42:00 PST 2006
On 12/16/06 09:50, Craig Rodrigues wrote:
> rodrigc 2006-12-16 15:50:36 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern vfs_export.c
> Log:
> In vfs_export(), if we specify MNT_DELEXPORT in the struct export_args,
> after we perform the operations to delete the export,
> call vfs_deleteopt() to delete the "export" mount option from
> the linked list of mount options associated with that mount point.
>
> This fixes one scenario:
> - put a filesystem in /etc/exports to export it
> - remove the filesystem from /etc/exports to delete the export and restart
> mountd
> - try to do a "mount -u -o ro" or "mount -u -o rw" on that filesystem
> now that it is no longer exported.
>
> Revision Changes Path
> 1.339 +4 -1 src/sys/kern/vfs_export.c
Thank you!!! I hope this can be MFC'ed..
Eric
--
------------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
An undefined problem has an infinite number of solutions.
------------------------------------------------------------------------
More information about the cvs-src
mailing list