aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorEthon Paul <[email protected]>2020-06-04 23:49:22 +0000
committerLinus Torvalds <[email protected]>2020-06-05 02:06:24 +0000
commitffceeb62fce4b819f295bc724b413d62364f8d16 (patch)
tree1187baa70ae3806abd130b52deb4e7b04f505300 /mm/filemap.c
parentmm/list_lru: fix a typo in comment "numbesr"->"numbers" (diff)
downloadkernel-ffceeb62fce4b819f295bc724b413d62364f8d16.tar.gz
kernel-ffceeb62fce4b819f295bc724b413d62364f8d16.zip
mm/filemap: fix a typo in comment "unneccssary"->"unnecessary"
There is a typo in comment, fix it. Signed-off-by: Ethon Paul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Ralph Campbell <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 455990621989..b1a41890d80e 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1256,7 +1256,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
* instead.
*
* The read of PG_waiters has to be after (or concurrently with) PG_locked
- * being cleared, but a memory barrier should be unneccssary since it is
+ * being cleared, but a memory barrier should be unnecessary since it is
* in the same byte as PG_locked.
*/
static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)