[DRBD-cvs] DRBD CVS: drbd by phil from

drbd-cvs@linbit.com drbd-cvs@linbit.com
Sat, 10 Jan 2004 15:46:11 +0100 (CET)


DRBD CVS committal

Author  : phil
Host    : 
Module  : drbd

Dir     : drbd/drbd


Modified Files:
      Tag: rel-0_7-branch
	drbd_main.c 


Log Message:
Fixed another bug of the obviously-it-was-never-tested kind.

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_main.c,v
retrieving revision 1.73.2.86
retrieving revision 1.73.2.87
diff -u -3 -r1.73.2.86 -r1.73.2.87
--- drbd_main.c	10 Jan 2004 14:16:47 -0000	1.73.2.86
+++ drbd_main.c	10 Jan 2004 14:46:11 -0000	1.73.2.87
@@ -1235,6 +1235,8 @@
 #else
 # error "Currently drbd depends on the proc file system (CONFIG_PROC_FS)"
 #endif
+	blksize_size[MAJOR_NR] = drbd_blocksizes;
+	blk_size[MAJOR_NR] = drbd_sizes;
 
 #ifdef CONFIG_DEVFS_FS
 	devfs_handle = devfs_mk_dir (NULL, "nbd", NULL);