From: Ethon Paul Date: Thu, 4 Jun 2020 23:49:22 +0000 (-0700) Subject: mm/filemap: fix a typo in comment "unneccssary"->"unnecessary" X-Git-Tag: v5.8-rc1~142^2~67 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ffceeb62fce4b819f295bc724b413d62364f8d16;p=linux-block.git mm/filemap: fix a typo in comment "unneccssary"->"unnecessary" There is a typo in comment, fix it. Signed-off-by: Ethon Paul Signed-off-by: Andrew Morton Reviewed-by: Ralph Campbell Link: http://lkml.kernel.org/r/20200411065141.15936-1-ethp@qq.com Signed-off-by: Linus Torvalds --- 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)