summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/locks')
-rw-r--r--xlators/features/locks/src/locks.h4
-rw-r--r--xlators/features/locks/src/posix.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h
index c2edfff8f00..e9b75fb3f13 100644
--- a/xlators/features/locks/src/locks.h
+++ b/xlators/features/locks/src/locks.h
@@ -87,7 +87,7 @@ struct __pl_inode_lock {
struct timeval blkd_time; /*time at which lock was queued into blkd list*/
struct timeval granted_time; /*time at which lock was queued into active list*/
- /*last time at wich lock contention was detected and notified*/
+ /*last time at which lock contention was detected and notified*/
struct timespec contention_time;
/* These two together serve to uniquely identify each process
@@ -137,7 +137,7 @@ struct __entry_lock {
struct timeval blkd_time; /*time at which lock was queued into blkd list*/
struct timeval granted_time; /*time at which lock was queued into active list*/
- /*last time at wich lock contention was detected and notified*/
+ /*last time at which lock contention was detected and notified*/
struct timespec contention_time;
void *client;
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index dc11ab62d0f..e83a93ded11 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -4477,7 +4477,7 @@ struct volume_options options[] = {
.tags = {"locks"},
.description = "Specifies the mandatory-locking mode. Valid options "
"are 'file' to use linux style mandatory locks, "
- "'forced' to use volume striclty under mandatory lock "
+ "'forced' to use volume strictly under mandatory lock "
"semantics only and 'optimal' to treat advisory and "
"mandatory locks separately on their own."
},