Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib: glob: fix grammar and replace non-inclusive terminology

Fix a missing article ('a') in the comment describing the glob
implementation, and replace 'blacklists' with 'denylists' to align with
the kernel's inclusive terminology guidelines.

Link: https://lkml.kernel.org/r/20260301154553.2592681-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Josh Law and committed by
Andrew Morton
3a1c3be1 80266c15

+1 -1
+1 -1
lib/glob.c
··· 21 21 * Pattern metacharacters are ?, *, [ and \. 22 22 * (And, inside character classes, !, - and ].) 23 23 * 24 - * This is small and simple implementation intended for device blacklists 24 + * This is a small and simple implementation intended for device denylists 25 25 * where a string is matched against a number of patterns. Thus, it 26 26 * does not preprocess the patterns. It is non-recursive, and run-time 27 27 * is at most quadratic: strlen(@str)*strlen(@pat).