summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/nfs/server/src/acl3.h2
-rw-r--r--xlators/nfs/server/src/mount3.c4
-rw-r--r--xlators/nfs/server/src/nfs.c8
-rw-r--r--xlators/nfs/server/src/nlm4.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/xlators/nfs/server/src/acl3.h b/xlators/nfs/server/src/acl3.h
index 220bc9e78df..3ccc587bd59 100644
--- a/xlators/nfs/server/src/acl3.h
+++ b/xlators/nfs/server/src/acl3.h
@@ -29,7 +29,7 @@
/*
* NFSv3, identifies the default ACL by NFS_ACL_DEFAULT. Gluster
- * NFS needs to mask it OFF before sending it upto POSIX layer
+ * NFS needs to mask it OFF before sending it up to POSIX layer
* or File system layer.
*/
#define NFS_ACL_DEFAULT 0x1000
diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c
index 677b4be7238..63d35735e7d 100644
--- a/xlators/nfs/server/src/mount3.c
+++ b/xlators/nfs/server/src/mount3.c
@@ -477,7 +477,7 @@ free_sh:
* to unmount cleanly. In this case, a duplicate entry would be added to the
* ms->mountlist, which is wrong and we should prevent.
*
- * It is fully acceptible that the ms->mountlist is not 100% correct, this is a
+ * It is fully acceptable that the ms->mountlist is not 100% correct, this is a
* common issue for all(?) NFS-servers.
*/
int
@@ -2009,7 +2009,7 @@ mount3udp_delete_mountlist (char *hostname, dirpath *expname)
}
/**
- * This function will parse the hostip (IP addres, IP range, or hostname)
+ * This function will parse the hostip (IP address, IP range, or hostname)
* and fill the host_auth_spec structure.
*
* @param hostspec - struct host_auth_spec
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 794b7171efc..31de64cd21d 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -1532,10 +1532,10 @@ struct xlator_dumpops dumpops = {
};
/* TODO: If needed, per-volume options below can be extended to be export
-+ * specific also because after export-dir is introduced, a volume is not
-+ * neccessarily an export whereas different subdirectories within that volume
-+ * can be and may need these options to be specified separately.
-+ */
+ * specific also because after export-dir is introduced, a volume is not
+ * necessarily an export whereas different subdirectories within that volume
+ * can be and may need these options to be specified separately.
+*/
struct volume_options options[] = {
{ .key = {"nfs3.read-size"},
.type = GF_OPTION_TYPE_SIZET,
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c
index 4d0083fe2c5..b06a2524cb0 100644
--- a/xlators/nfs/server/src/nlm4.c
+++ b/xlators/nfs/server/src/nlm4.c
@@ -2441,7 +2441,7 @@ nlm4svc_init(xlator_t *nfsx)
GF_SM_NOTIFY_PIDFILE, errno);
goto err;
}
- /* temporary work around to restart statd, not distro/OS independant.
+ /* temporary work around to restart statd, not distro/OS independent.
* Need to figure out a more graceful way
* killall will cause problems on solaris.
*/