[linux-lvm] typo in CVS: LVM/kernel/lvm.c

Gergely Tamas dice at mfa.kfki.hu
Sat May 5 21:24:43 UTC 2001


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);






More information about the linux-lvm mailing list