]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kobject: Replace ALL occurrences of '/' with '!' instead of only the first one.
authorIngo Oeser <ioe-lkml@rameria.de>
Tue, 22 Jul 2008 23:25:01 +0000 (01:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:15:34 +0000 (10:15 -0700)
commit25fdeb3f4468595ab2885687b13515fa848731c2
tree841454db8ff56dfa260cc0a277023815909dbc7a
parent6a55617ed5d1aa62b850de2cf66f5ede2eef4825
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>
lib/kobject.c