bpf: Fix a typo "inacitve" -> "inactive"
authorQiujun Huang <hqjagain@gmail.com>
Fri, 3 Apr 2020 08:07:34 +0000 (16:07 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 6 Apr 2020 19:54:10 +0000 (21:54 +0200)
There is a typo in struct bpf_lru_list's next_inactive_rotation
description, thus fix s/inacitve/inactive/.

Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/1585901254-30377-1-git-send-email-hqjagain@gmail.com
kernel/bpf/bpf_lru_list.h

index f02504640e1851e2fc0199042fbac7fe11ba596d..6b12f06ee18c3d7de63b10ec1a76bcefb1121111 100644 (file)
@@ -30,7 +30,7 @@ struct bpf_lru_node {
 struct bpf_lru_list {
        struct list_head lists[NR_BPF_LRU_LIST_T];
        unsigned int counts[NR_BPF_LRU_LIST_COUNT];
-       /* The next inacitve list rotation starts from here */
+       /* The next inactive list rotation starts from here */
        struct list_head *next_inactive_rotation;
 
        raw_spinlock_t lock ____cacheline_aligned_in_smp;