This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - fsck: Using wrong hash size
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Thu, 19 Feb 2009 10:08:55 +0000 (UTC)
- Subject: cluster: STABLE3 - fsck: Using wrong hash size
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=478ae253af3f4690c310315bb8caa1bf8b61b122
Commit: 478ae253af3f4690c310315bb8caa1bf8b61b122
Parent: 3de40fea6b20c3e39a6bf394e05e548d27cb6026
Author: Steven Whitehouse <swhiteho@redhat.com>
AuthorDate: Mon Jan 26 13:28:09 2009 +0000
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu Feb 19 10:59:55 2009 +0100
fsck: Using wrong hash size
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
---
gfs2/fsck/initialize.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gfs2/fsck/initialize.c b/gfs2/fsck/initialize.c
index 83f5d4c..9378419 100644
--- a/gfs2/fsck/initialize.c
+++ b/gfs2/fsck/initialize.c
@@ -298,7 +298,7 @@ static int fill_super_block(struct gfs2_sbd *sdp)
osi_list_init(&sdp->rglist);
init_buf_list(sdp, &sdp->buf_list, 128 << 20);
init_buf_list(sdp, &sdp->nvbuf_list, 0xffffffff);
- for(i = 0; i < BUF_HASH_SIZE; i++) {
+ for(i = 0; i < FSCK_HASH_SIZE; i++) {
osi_list_init(&dir_hash[i]);
osi_list_init(&inode_hash[i]);
}