Re: [PATCH v2 0/8] Introduce strreplace
From: Theodore Ts'o <tytso@mit.edu>
Date: 2015-06-09 00:56:09
Also in:
linux-ext4, lkml
From: Theodore Ts'o <tytso@mit.edu>
Date: 2015-06-09 00:56:09
Also in:
linux-ext4, lkml
On Tue, Jun 09, 2015 at 01:26:48AM +0200, Rasmus Villemoes wrote:
Doing single-character substitution on an entire string is open-coded in a few places, sometimes in a rather suboptimal way. This introduces a trivial helper, strreplace, for this task along with a few example conversions. Andrew, can I get you to take 1/8 through the mm tree? I'm not sure what the easiest path is for the remaining patches.
This is not super urgent, right? So we could let 1/8 go into
mainline, and then the rest of the patches could go in the next
release. That would be the simplest, although it would drag out how
long it would take for strreplace to be used everywhere.
- Ted