All of lore.kernel.org
 help / color / mirror / Atom feed
From: arjan@fenrus.demon.nl (Arjan van de Ven)
To: eyal@eyal.emu.id.au (Eyal Lebedinsky)
Cc: linux-kernel@vger.kernel.org
Subject: Re: test13-pre4
Date: Fri, 22 Dec 2000 17:07:27 +0100 (CET)	[thread overview]
Message-ID: <m149Uj9-000OXLC@amadeus.home.nl> (raw)
In-Reply-To: <Pine.LNX.4.10.10012211726060.968-100000@penguin.transmeta.com> <3A43506B.6CEF84BB@eyal.emu.id.au>

In article <3A43506B.6CEF84BB@eyal.emu.id.au> you wrote:
> Linus Torvalds wrote:
>>  - pre4:
>>    - Andrea Arkangeli: update to LVM-0.9

> lvm.c: In function `lvm_do_create_proc_entry_of_lv':

[snip]

Hi,

The patch below fixes this.

Greetings,
    Arjan van de Ven

diff -ur linux/drivers/md/lvm.c /mnt/raid/0/linux/drivers/md/lvm.c
--- linux/drivers/md/lvm.c	Fri Dec 22 17:05:20 2000
+++ /mnt/raid/0/linux/drivers/md/lvm.c	Fri Dec 22 12:39:37 2000
@@ -2021,7 +2021,9 @@
 		for (p = 0; p < vg_ptr->pv_max; p++) {
 			if ( ( pv_ptr = vg_ptr->pv[p]) == NULL) {
 				ret = lvm_do_pv_create(arg, vg_ptr, p);
+#if defined CONFIG_LVM_PROC_FS && defined CONFIG_PROC_FS
 				lvm_do_create_proc_entry_of_pv ( vg_ptr, pv_ptr);
+#endif
 				if ( ret != 0) return ret;
 	
 				/* We don't need the PE list
@@ -3002,6 +3004,8 @@
 } /* lvm_do_pv_status() */
 
 
+#if defined CONFIG_LVM_PROC_FS && defined CONFIG_PROC_FS
+
 
 /*
  * create a /proc entry for a logical volume
@@ -3021,8 +3025,6 @@
 		}
 	}
 }
-
-
 /*
  * remove a /proc entry for a logical volume
  */
@@ -3038,6 +3040,7 @@
 }
 
 
+
 /*
  * create a /proc entry for a physical volume
  */
@@ -3074,7 +3077,6 @@
 /*
  * create a /proc entry for a volume group
  */
-#if defined CONFIG_LVM_PROC_FS && defined CONFIG_PROC_FS
 void lvm_do_create_proc_entry_of_vg ( vg_t *vg_ptr) {
 	int l, p;
 	pv_t *pv_ptr;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-12-22 16:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-22  1:29 test13-pre4 Linus Torvalds
2000-12-22 13:00 ` test13-pre4 Eyal Lebedinsky
2000-12-22 14:31   ` test13-pre4 Andrea Arcangeli
2000-12-22 15:01     ` test13-pre4 Andrea Arcangeli
2000-12-22 15:24       ` test13-pre4 Andrea Arcangeli
2000-12-22 23:08       ` test13-pre4 Eyal Lebedinsky
2000-12-22 16:07   ` Arjan van de Ven [this message]
2000-12-22 16:18     ` test13-pre4 Andrea Arcangeli
2000-12-23 15:12 ` "undefined reference" atm_lane_init & atm_mpoa_init with test13-pre4 Arjan Filius
2000-12-23 15:46   ` Arjan van de Ven

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=m149Uj9-000OXLC@amadeus.home.nl \
    --to=arjan@fenrus.demon.nl \
    --cc=eyal@eyal.emu.id.au \
    --cc=linux-kernel@vger.kernel.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 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.