Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2006 23:42:05 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Craig Rodrigues <rodrigc@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern vfs_export.c
Message-ID:  <4584D8AD.1000701@centtech.com>
In-Reply-To: <200612161550.kBGFoaV1003789@repoman.freebsd.org>
References:  <200612161550.kBGFoaV1003789@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4584D8AD.1000701>