From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Severe bug in kernel-2.4.4 lvm
Date: Thu, 31 May 2001 16:52:52 +0100 [thread overview]
Message-ID: <20010531165252.F517@tykepenguin.com> (raw)
In-Reply-To: <20010531161155.A1352@66bassett.freeserve.co.uk>; from thornber@btconnect.com on Thu, May 31, 2001 at 04:11:55PM +0100
On Thu, May 31, 2001 at 04:11:55PM +0100, Joe Thornber wrote:
>
> --- /usr/src/linux/drivers/md/lvm-fs.c Thu May 31 15:48:03 2001
> +++ /tmp/linux/drivers/md/lvm-fs.c Thu May 31 15:48:17 2001
> @@ -577,7 +572,7 @@
> allocation_flag = 'A';
> if (!(pv->pv_allocatable & PV_ALLOCATABLE))
> allocation_flag = 'N';
> - pv_name = strchr(pv->pv_name+1,'/');
> + pv_name = strrchr(pv->pv_name+1,'/');
> if ( pv_name == 0) pv_name = pv->pv_name;
> else pv_name++;
> sz = sprintf(buf,
That one's mine - strchr is right(one r in the middle), otherwise devfs users
just get names like "part1" and "disc"(sic) in /proc/lvm rather than long
device names.
patrick
next prev parent reply other threads:[~2001-05-31 15:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-31 14:16 [linux-lvm] Severe bug in kernel-2.4.4 lvm Gergely Tamas
2001-05-31 15:11 ` Joe Thornber
2001-05-31 15:52 ` Patrick Caulfield [this message]
2001-05-31 16:08 ` Gergely Tamas
-- strict thread matches above, loose matches on Subject: below --
2001-05-31 10:08 Hadmut Danisch
2001-05-31 11:43 ` Ed Tomlinson
2001-05-31 17:39 ` Austin Gonyou
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=20010531165252.F517@tykepenguin.com \
--to=caulfield@sistina.com \
--cc=linux-lvm@sistina.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.