summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server
diff options
context:
space:
mode:
authorHumble Chirammal <hchiramm@redhat.com>2014-07-09 00:31:57 +0530
committerNiels de Vos <ndevos@redhat.com>2014-08-27 00:26:36 -0700
commitaa0891b796809e3a932c709e1406298b4d5f0416 (patch)
tree67e906f0cae5eeb3b069664c8d3c95e2403de58a /xlators/nfs/server
parent861f65463708aedb20f1634c8b3214facc68348c (diff)
gNFS: correct some typos in comments.
Change-Id: I304c760c2318edd4bab985ca19bf9ce62fd21a3c BUG: 1075417 Signed-off-by: Humble Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/8265 Reviewed-by: Santosh Pradhan <spradhan@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/nfs/server')
-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.
*/