Module Name:    src
Committed By:   dholland
Date:           Thu Oct 15 06:24:08 UTC 2015

Modified Files:
        src/sys/ufs/lfs: lfs.h

Log Message:
For now bitflip the lfs64 magic number.

This will be unflipped when the format is finalized - right now I
still have pending changes to the superblock in mind (to reduce the
number of redundant fields) so anything created now is not future-
proof. However, the code's also nearing being ready for testing; so
I'm doing this before turning it on as a precaution.


To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 src/sys/ufs/lfs/lfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/lfs/lfs.h
diff -u src/sys/ufs/lfs/lfs.h:1.195 src/sys/ufs/lfs/lfs.h:1.196
--- src/sys/ufs/lfs/lfs.h:1.195	Thu Oct 15 06:15:48 2015
+++ src/sys/ufs/lfs/lfs.h	Thu Oct 15 06:24:08 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs.h,v 1.195 2015/10/15 06:15:48 dholland Exp $	*/
+/*	$NetBSD: lfs.h,v 1.196 2015/10/15 06:24:08 dholland Exp $	*/
 
 /*  from NetBSD: dinode.h,v 1.22 2013/01/22 09:39:18 dholland Exp  */
 /*  from NetBSD: dir.h,v 1.21 2009/07/22 04:49:19 dholland Exp  */
@@ -776,8 +776,8 @@ union segsum {
 #define	       LFS_MAGIC       		0x070162
 #define        LFS_MAGIC_SWAPPED	0x62010700
 
-#define        LFS64_MAGIC     		0x19620701
-#define        LFS64_MAGIC_SWAPPED      0x01076219
+#define        LFS64_MAGIC     		(0x19620701 ^ 0xffffffff)
+#define        LFS64_MAGIC_SWAPPED      (0x01076219 ^ 0xffffffff)
 
 #define	       LFS_VERSION     		2
 

Reply via email to