From 05b1e8c04b3dc330da1c2b63a88d6fca94fa6f3b Mon Sep 17 00:00:00 2001 From: tappro Date: Wed, 13 Sep 2006 16:34:09 +0000 Subject: [PATCH] fix issues from last commit. --- lustre/include/lustre/lustre_idl.h | 1 + lustre/lmv/lmv_intent.c | 1 - lustre/lmv/lmv_obd.c | 1 - lustre/lmv/lmv_object.c | 1 - lustre/obdclass/mea.c | 2 +- 5 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index ead982e..61d368e3 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -299,6 +299,7 @@ static inline struct lu_dirent *lu_dirent_next(struct lu_dirent *ent) #define MEA_MAGIC_LAST_CHAR 0xb2221ca1 #define MEA_MAGIC_ALL_CHARS 0xb222a11c #define MEA_MAGIC_HASH_SEGMENT 0xb222a11b +#define MAX_HASH_SIZE 0x3fffffff struct lmv_stripe_md { __u32 mea_magic; diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index efe7337..13964d5 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -37,7 +37,6 @@ #endif #include -#include #include #include #include diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 24644a0..be18ad4 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -39,7 +39,6 @@ #include #include -#include #include #include #include diff --git a/lustre/lmv/lmv_object.c b/lustre/lmv/lmv_object.c index ddd126c..f37f5cc 100644 --- a/lustre/lmv/lmv_object.c +++ b/lustre/lmv/lmv_object.c @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include "lmv_internal.h" diff --git a/lustre/obdclass/mea.c b/lustre/obdclass/mea.c index 317af8d..8c123d0 100644 --- a/lustre/obdclass/mea.c +++ b/lustre/obdclass/mea.c @@ -33,7 +33,7 @@ #include #endif #include -#include +#include static int mea_last_char_hash(int count, char *name, int namelen) { -- 1.8.3.1