Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 14:46:02 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient nfs_vfsops.c
Message-ID:  <200504271446.j3REk2O9026654@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2005-04-27 14:46:02 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_vfsops.c 
  Log:
  When NFS was converted to the new mount syscall, code was written that sets
  the MNT_RDONLY flag if the "ro" option was passed in from userland, and
  clears it otherwise.  In the diskless case, the MNT_RDONLY flag is already
  set when this code is reached, but there are no mount options, so it was
  incorrectly cleared.  Change the logic so the MNT_RDONLY flag is set if the
  "ro" option was specified, and left alone otherwise.
  
  Note that the NFS code will still happily let you mount a filesystem RW
  even if the server exports it RO.  I'm not sure how to fix that.
  
  Revision  Changes    Path
  1.173     +1 -3      src/sys/nfsclient/nfs_vfsops.c



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