All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] typo in CVS: LVM/kernel/lvm.c
@ 2001-05-05 21:24 Gergely Tamas
  2001-05-06  9:11 ` Joe Thornber
  0 siblings, 1 reply; 9+ messages in thread
From: Gergely Tamas @ 2001-05-05 21:24 UTC (permalink / raw)
  To: linux-lvm

Hi!

There is a typo in CVS:LVM/kernel/lvm.c

Gergely

--- LVM/kernel/lvm.c.orig	Thu May  3 15:37:19 2001
+++ LVM/kernel/lvm.c	Sat May  5 23:01:22 2001
@@ -1879,7 +1879,7 @@
 	int max_hardsectsize = 0, hardsectsize;

 	for (le = 0; le < lv->lv_allocated_le; le++) {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION ( 2, 4, 4)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION ( 2, 4, 3)
 		hardsectsize = get_hardblocksize(lv->lv_current_pe[le].dev);
 #else
 		hardsectsize = get_hardsect_size(lv->lv_current_pe[le].dev);
@@ -1892,7 +1892,7 @@

 	if (lv->lv_access & LV_SNAPSHOT) {
 		for (e = 0; e < lv->lv_remap_end; e++) {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION ( 2, 4, 4)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION ( 2, 4, 3)
 			hardsectsize = get_hardblocksize( lv->lv_block_exception[e].rdev_new);
 #else
 			hardsectsize = get_hardsect_size( lv->lv_block_exception[e].rdev_new);

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-05-08 14:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-05 21:24 [linux-lvm] typo in CVS: LVM/kernel/lvm.c Gergely Tamas
2001-05-06  9:11 ` Joe Thornber
2001-05-06 12:55   ` Ed Tomlinson
2001-05-07  9:08   ` Patrick Caulfield
2001-05-07 10:34   ` Heinz J. Mauelshagen
2001-05-08  9:10   ` Patrick Caulfield
2001-05-08  9:43     ` Joe Thornber
2001-05-08 10:52     ` Patrick Caulfield
2001-05-08 14:38       ` Heinz J. Mauelshagen

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.