summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorBhaskar Chowdhury <unixbhaskar@gmail.com>2021-03-17 09:48:06 +0530
committerIngo Molnar <mingo@kernel.org>2021-03-17 09:34:39 +0100
commit4faf62b1ef1a9367f7dcf8b7ce509980dfdcee83 (patch)
tree642319550bbc5a8a0a87f67c4ef29db819d691c6 /kernel/locking
parentc2e4bfe0eef313eeb1c4c9d921be7a9d91d5d71a (diff)
locking/rwsem: Fix comment typo
s/folowing/following/ Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20210317041806.4096156-1-unixbhaskar@gmail.com
Diffstat (limited to 'kernel/locking')
-rw-r--r--kernel/locking/rwsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c
index abba5df50006..fe9cc65cd522 100644
--- a/kernel/locking/rwsem.c
+++ b/kernel/locking/rwsem.c
@@ -632,7 +632,7 @@ static inline bool rwsem_can_spin_on_owner(struct rw_semaphore *sem)
}
/*
- * The rwsem_spin_on_owner() function returns the folowing 4 values
+ * The rwsem_spin_on_owner() function returns the following 4 values
* depending on the lock owner state.
* OWNER_NULL : owner is currently NULL
* OWNER_WRITER: when owner changes and is a writer