Skip to content
Commit 25fdeb3f authored by Ingo Oeser's avatar Ingo Oeser Committed by Greg Kroah-Hartman
Browse files

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: default avatarIngo Oeser <ioe-lkml@rameria.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6a55617e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment