patch-2.4.18 linux/fs/intermezzo/journal.c
Next file: linux/fs/intermezzo/presto.c
Previous file: linux/fs/intermezzo/inode.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Mon Jan  7 14:09:06 2002
-  Orig file: 
linux.orig/fs/intermezzo/journal.c
-  Orig date: 
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/intermezzo/journal.c linux/fs/intermezzo/journal.c
@@ -301,9 +301,8 @@
 	/* XXX needs to be done after reservation, 
 	   disable ths until version 1.2 */
         if ( dentry ) { 
-                s.prevrec = cpu_to_le32(rec->offset - 
-                                        presto_d2d(dentry)->dd_kml_offset);
-                presto_d2d(dentry)->dd_kml_offset = rec->offset;
+                s.prevrec = cpu_to_le32(rec->offset - dentry->d_time);
+                dentry->d_time = (unsigned long) rec->offset;
         } else { 
                 s.prevrec = -1;
         }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)