From 752606ad3bae23d38c4dd445c3e514ef709aa159 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Wed, 20 Feb 2008 22:49:24 +0000 Subject: [PATCH] Region tags are 1 offest (not zero), remove allocation manager id collision) --- stasis/constants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stasis/constants.h b/stasis/constants.h index 376dbc2..739b1f3 100644 --- a/stasis/constants.h +++ b/stasis/constants.h @@ -171,7 +171,7 @@ terms specified in this license. /* Storage managers */ #define STORAGE_MANAGER_TALLOC 1 -#define STORAGE_MANAGER_NAIVE_PAGE_ALLOC 1 +#define STORAGE_MANAGER_NAIVE_PAGE_ALLOC 2 /* number above should be less than number below */ #define MAX_OPERATIONS 80 @@ -239,7 +239,7 @@ extern const short SLOT_TYPE_LENGTHS[]; #define USER_DEFINED_PAGE(n) (100+n) // 0 <= n < 155 #define MAX_PAGE_TYPE 255 -#define REGION_FIRST_TAG 0 +#define REGION_FIRST_TAG 1 #define TALLOC_REGION_SIZE 100 // Pages #define FILE_PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)