mm/filemap: fix a typo in comment "unneccssary"->"unnecessary"

There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Link: http://lkml.kernel.org/r/20200411065141.15936-1-ethp@qq.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Ethon Paul 2020-06-04 16:49:22 -07:00 committed by Linus Torvalds
parent 3dc5f032c4
commit ffceeb62fc

View File

@ -1256,7 +1256,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
* instead. * instead.
* *
* The read of PG_waiters has to be after (or concurrently with) PG_locked * 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. * in the same byte as PG_locked.
*/ */
static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem) static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)