Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2006 15:50:36 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_export.c
Message-ID:  <200612161550.kBGFoaV1003789@repoman.freebsd.org>

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



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