commit | 90a9befb20bd455b167b02d4018b5e882da76505 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Thu Jun 25 15:02:36 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 25 17:00:40 2015 -0700 |
tree | 0878fada6fa7e294a99e0087069d81aeaaa80a94 | |
parent | a29fd614a6af57610b1963e3445f1758c3806187 [diff] |
drivers/md/md.c: use strreplace() There's no point in starting over when we meet a '/'. This also eliminates a stack variable and a little .text. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Acked-by: NeilBrown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>