Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 20:01:41 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93366 for review
Message-ID:  <200603152001.k2FK1fk7085562@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93366

Change 93366 by millert@millert_p3 on 2006/03/15 20:01:38

	Get rid of non-std -e option; we want to check extattrs
	for ufs2 by default.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sbin/fsck_ffs/fsck.h#9 edit
.. //depot/projects/trustedbsd/sebsd/sbin/fsck_ffs/main.c#10 edit
.. //depot/projects/trustedbsd/sebsd/sbin/fsck_ffs/pass1.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sbin/fsck_ffs/fsck.h#9 (text+ko) ====

@@ -280,7 +280,6 @@
 char	resolved;		/* cleared if unresolved changes => not clean */
 char	havesb;			/* superblock has been read */
 char	skipclean;		/* skip clean file systems if preening */
-char	extattr;		/* take a lot longer, and check ea's */
 int	fsmodified;		/* 1 => write done to file system */
 int	fsreadfd;		/* file descriptor for reading file system */
 int	fswritefd;		/* file descriptor for writing file system */

==== //depot/projects/trustedbsd/sebsd/sbin/fsck_ffs/main.c#10 (text+ko) ====

@@ -79,7 +79,7 @@
 
 	sync();
 	skipclean = 1;
-	while ((ch = getopt(argc, argv, "b:Bc:defFm:npy")) != -1) {
+	while ((ch = getopt(argc, argv, "b:Bc:dfFm:npy")) != -1) {
 		switch (ch) {
 		case 'b':
 			skipclean = 0;
@@ -103,10 +103,6 @@
 			debug++;
 			break;
 
-		case 'e':
-			extattr++;
-			break;
-
 		case 'f':
 			skipclean = 0;
 			break;

==== //depot/projects/trustedbsd/sebsd/sbin/fsck_ffs/pass1.c#8 (text+ko) ====

@@ -340,7 +340,7 @@
 				break;
 		}
 	}
-	if (extattr && sblock.fs_magic == FS_UFS2_MAGIC)
+	if (sblock.fs_magic == FS_UFS2_MAGIC)
 		eascan(idesc, &dp->dp2);
 	idesc->id_entryno *= btodb(sblock.fs_fsize);
 	if (DIP(dp, di_blocks) != idesc->id_entryno) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603152001.k2FK1fk7085562>