Snapshot: Make calc_max_buckets return a constant 2M for now (need a
proper fix for this).  [Chris Mason]
--- diff/drivers/md/dm-snap.c	2004-04-21 10:55:57.909686024 +0100
+++ source/drivers/md/dm-snap.c	2004-04-21 10:56:53.228276320 +0100
@@ -318,10 +318,8 @@ int dm_add_exception(struct dm_snapshot 
  */
 static int calc_max_buckets(void)
 {
-	unsigned long mem;
-
-	mem = num_physpages << PAGE_SHIFT;
-	mem /= 50;
+	/* use a fixed size of 2MB */
+	unsigned long mem = 2 * 1024 * 1024;
 	mem /= sizeof(struct list_head);
 
 	return mem;