From: Michael Buesch <mb@bu3sch.de>
To: Greg KH <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org, stable@kernel.org, torvalds@osdl.org
Subject: Re: Linux 2.6.16.6
Date: Tue, 18 Apr 2006 00:52:18 +0200 [thread overview]
Message-ID: <200604180052.19361.mb@bu3sch.de> (raw)
In-Reply-To: <20060417211206.GB6861@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
On Monday 17 April 2006 23:12, you wrote:
> @@ -352,6 +353,10 @@ static char *make_block_name(struct gend
> return NULL;
> strcpy(name, block_str);
> strcat(name, disk->disk_name);
> + /* ewww... some of these buggers have / in name... */
> + s = strchr(name, '/');
> + if (s)
> + *s = '!';
> return name;
> }
Is only one / possible, or better something like this?
/* ewww... some of these buggers have / in name... */
s = name;
while ((s = strchr(s, '/')) != NULL)
*s = '!';
--
Greetings Michael.
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-04-17 22:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-17 21:11 Greg KH
2006-04-17 21:12 ` Greg KH
2006-04-17 22:52 ` Michael Buesch [this message]
2006-04-17 23:54 ` Kyle Moffett
2006-04-18 1:28 ` Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604180052.19361.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®