afs/fs/cachefs replay.c,1.8,1.9

dwh at infradead.org dwh at infradead.org
Tue Sep 16 17:52:49 BST 2003


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

Modified Files:
	replay.c 
Log Message:
replay data-write transaction correctly


Index: replay.c
===================================================================
RCS file: /home/cvs/afs/fs/cachefs/replay.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- replay.c	15 Sep 2003 13:53:25 -0000	1.8
+++ replay.c	16 Sep 2003 15:52:46 -0000	1.9
@@ -1509,8 +1509,8 @@
 		(jentry->auxmark % CACHEFS_ONDISC_VJNL_ENTPERPAGE) *
 		sizeof(struct cachefs_ondisc_validity_journal);
 
-	if (vjentry->ino	!= 0 &&
-	    vjentry->pgnum	!= 0) {
+	if (vjentry->ino   != 0 ||
+	    vjentry->pgnum != 0) {
 		vjentry->ino	= 0;
 		vjentry->pgnum	= 0;
 




More information about the linux-afs-cvs mailing list