[tip: locking/core] locking/rwsem: Fix comment typo

From: tip-bot2 for Bhaskar Chowdhury
Date: Wed Mar 17 2021 - 08:39:36 EST


The following commit has been merged into the locking/core branch of tip:

Commit-ID: 4faf62b1ef1a9367f7dcf8b7ce509980dfdcee83
Gitweb: https://git.kernel.org/tip/4faf62b1ef1a9367f7dcf8b7ce509980dfdcee83
Author: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
AuthorDate: Wed, 17 Mar 2021 09:48:06 +05:30
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Wed, 17 Mar 2021 09:34:39 +01:00

locking/rwsem: Fix comment typo

s/folowing/following/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20210317041806.4096156-1-unixbhaskar@xxxxxxxxx
---
kernel/locking/rwsem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c
index abba5df..fe9cc65 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