Subject: afs/fs/cachefs vjournal.c,1.5,1.6

From: [email-masked]
Date: Fri, 12 Sep 2003 12:42:48 +0100

Update of /home/cvs/afs/fs/cachefs
In directory phoenix.infradead.org:/tmp/cvs-serv1055/fs/cachefs

Modified Files:
	vjournal.c 
Log Message:
calculate v-journal entry offset correctly

Index: vjournal.c
===================================================================
RCS file: /home/cvs/afs/fs/cachefs/vjournal.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vjournal.c	17 Jul 2003 12:02:13 -0000	1.5
+++ vjournal.c	12 Sep 2003 11:42:45 -0000	1.6
@@ -83,6 +83,7 @@
 
 	vjentry->vslot	= slot;
 	vjentry->ventry	= slot % CACHEFS_ONDISC_VJNL_ENTPERPAGE;
+	vjentry->ventry	*= sizeof(struct cachefs_ondisc_validity_journal);
 
 	bix = slot / CACHEFS_ONDISC_VJNL_ENTPERPAGE;
 	bix += super->layout->bix_vjournal;