summaryrefslogtreecommitdiff
path: root/sys/nfsserver
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2002-05-16 21:28:32 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2002-05-16 21:28:32 +0000
commitd394511de3304005a8a52e0cbb6dd48fe8b1d3a4 (patch)
tree0cbeb3775d12e86712b373b6e5a62d8ee7b3abc8 /sys/nfsserver
parent2bf6dd18ba2f6fc4830854b9f5d3d79dcffc106d (diff)
Notes
Diffstat (limited to 'sys/nfsserver')
-rw-r--r--sys/nfsserver/nfs.h2
-rw-r--r--sys/nfsserver/nfs_serv.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/nfsserver/nfs.h b/sys/nfsserver/nfs.h
index 25ab85df1e05..18768af9d3c8 100644
--- a/sys/nfsserver/nfs.h
+++ b/sys/nfsserver/nfs.h
@@ -77,7 +77,7 @@
#define B_INVAFTERWRITE B_NOCACHE
/*
- * The IO_METASYNC flag should be implemented for local file systems.
+ * The IO_METASYNC flag should be implemented for local filesystems.
* (Until then, it is nothin at all.)
*/
#ifndef IO_METASYNC
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c
index 05272f26d798..73bee420fc6d 100644
--- a/sys/nfsserver/nfs_serv.c
+++ b/sys/nfsserver/nfs_serv.c
@@ -391,7 +391,7 @@ nfsrv_setattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
/*
* If the size is being changed write acces is required, otherwise
- * just check for a read only file system.
+ * just check for a read only filesystem.
*/
if (vap->va_size == ((u_quad_t)((quad_t) -1))) {
if (rdonly || (vp->v_mount->mnt_flag & MNT_RDONLY)) {
@@ -3864,7 +3864,7 @@ nfsrv_fsinfo(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
/*
* XXX
- * There should be file system VFS OP(s) to get this information.
+ * There should be filesystem VFS OP(s) to get this information.
* For now, assume ufs.
*/
if (slp->ns_so->so_type == SOCK_DGRAM)
@@ -4028,9 +4028,9 @@ nfsrv_access(struct vnode *vp, int flags, struct ucred *cred, int rdonly,
if (flags & VWRITE) {
/* Just vn_writechk() changed to check rdonly */
/*
- * Disallow write attempts on read-only file systems;
+ * Disallow write attempts on read-only filesystems;
* unless the file is a socket or a block or character
- * device resident on the file system.
+ * device resident on the filesystem.
*/
if (rdonly || (vp->v_mount->mnt_flag & MNT_RDONLY)) {
switch (vp->v_type) {