locking/rwsem: Fix comment typo
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Wed, 17 Mar 2021 04:18:06 +0000 (09:48 +0530)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Mar 2021 08:34:39 +0000 (09:34 +0100)
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
kernel/locking/rwsem.c

index abba5df..fe9cc65 100644 (file)
@@ -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