Skip to content

Commit

Permalink
bpf: Fix a typo "inacitve" -> "inactive"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Qiujun Huang authored and Daniel Borkmann committed Apr 6, 2020
1 parent 4734b0f commit 0ac1629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/bpf/bpf_lru_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0ac1629

Please sign in to comment.