freebsd-dev/sys/nfsclient
Dag-Erling Smørgrav 4104e6bc1d 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.
2005-04-27 14:46:02 +00:00
..
bootp_subr.c When netbooting, as soon as we've figured out which interface we booted 2005-04-26 20:45:29 +00:00
krpc_subr.c MFp4: use the function to fix the packet header length instead of rolling 2005-03-16 08:13:08 +00:00
krpc.h
nfs_bio.c Don't brelse(bp) if bp is null. Also, eliminate some redundancy 2005-03-18 21:23:32 +00:00
nfs_diskless.c While I'm here, list the new kenv (boot.netif.name) along with the others. 2005-04-26 20:47:59 +00:00
nfs_lock.c For reasons unknown, the nfs locking code used a fifo to send requests to 2004-12-06 08:31:32 +00:00
nfs_lock.h For reasons unknown, the nfs locking code used a fifo to send requests to 2004-12-06 08:31:32 +00:00
nfs_nfsiod.c Drop Giant before calling kthread_exit(). 2005-02-07 18:21:50 +00:00
nfs_node.c - LK_NOPAUSE is a nop now. 2005-03-31 04:37:09 +00:00
nfs_socket.c TCP reconnect is not an error. 2005-04-18 13:42:13 +00:00
nfs_subs.c - The VI_DOOMED flag now signals the end of a vnode's relationship with 2005-03-13 12:14:56 +00:00
nfs_vfsops.c When NFS was converted to the new mount syscall, code was written that sets 2005-04-27 14:46:02 +00:00
nfs_vnops.c - cache_lookup() relocks the parent in the DOTDOT case for us. 2005-04-14 07:08:34 +00:00
nfs.h Remove unused cred arg from nfs_vinvalbuf() and many bogus arguments 2005-01-24 12:31:06 +00:00
nfsargs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsdiskless.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsm_subs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsmount.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsnode.h Use vfs_hash. 2005-03-16 11:28:19 +00:00
nfsstats.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nlminfo.h