Commit 25fdeb3f4468595ab2885687b13515fa848731c2
Committed by
Greg Kroah-Hartman
1 parent
6a55617ed5
Exists in
master
and in
4 other branches
kobject: Replace ALL occurrences of '/' with '!' instead of only the first one.
A recent patch from Kay Sievers <kay.sievers@vrfy.org> replaced the first occurrence of '/' with '!' as needed for block devices. Now do some cheap defensive coding and replace all of them to avoid future issues in this area. Signed-off-by: Ingo Oeser <ioe-lkml@rameria.de> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
lib/kobject.c