• Rasmus Villemoes's avatar
    block: Replace strnicmp with strncasecmp · 58294050
    Rasmus Villemoes authored
    The kernel used to contain two functions for length-delimited,
    case-insensitive string comparison, strnicmp with correct semantics
    and a slightly buggy strncasecmp. The latter is the POSIX name, so
    strnicmp was renamed to strncasecmp, and strnicmp made into a wrapper
    for the new strncasecmp to avoid breaking existing users.
    
    To allow the compat wrapper strnicmp to be removed at some point in
    the future, and to avoid the extra indirection cost, do
    s/strnicmp/strncasecmp/g.
    
    Cc: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    58294050
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
acorn.c Loading commit data...
acorn.h Loading commit data...
aix.c Loading commit data...
aix.h Loading commit data...
amiga.c Loading commit data...
amiga.h Loading commit data...
atari.c Loading commit data...
atari.h Loading commit data...
check.c Loading commit data...
check.h Loading commit data...
cmdline.c Loading commit data...
cmdline.h Loading commit data...
efi.c Loading commit data...
efi.h Loading commit data...
ibm.c Loading commit data...
ibm.h Loading commit data...
karma.c Loading commit data...
karma.h Loading commit data...
ldm.c Loading commit data...
ldm.h Loading commit data...
mac.c Loading commit data...
mac.h Loading commit data...
msdos.c Loading commit data...
msdos.h Loading commit data...
osf.c Loading commit data...
osf.h Loading commit data...
sgi.c Loading commit data...
sgi.h Loading commit data...
sun.c Loading commit data...
sun.h Loading commit data...
sysv68.c Loading commit data...
sysv68.h Loading commit data...
ultrix.c Loading commit data...
ultrix.h Loading commit data...