PERFORCE change 163810 for review

Aditya Sarawgi truncs at FreeBSD.org
Mon Jun 8 17:48:44 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=163810

Change 163810 by truncs at aditya on 2009/06/08 17:47:46

	integrate changes made by stas@ 

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_vfsops.c#6 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_vfsops.c#6 (text+ko) ====

@@ -217,12 +217,12 @@
 			if ((fs->e2fs->s_state & EXT2_VALID_FS) == 0 ||
 			    (fs->e2fs->s_state & EXT2_ERROR_FS)) {
 				if (mp->mnt_flag & MNT_FORCE) {
-					printf("WARNING: %s was not properly "
-					    "dismounted\n", fs->e2fs_fsmnt);
+					printf(
+"WARNING: %s was not properly  "dismounted\n", fs->e2fs_fsmnt);
 				} else {
-					printf("WARNING: R/W mount of %s "
-					    "denied. Filesystem is not clean"
-					    " - run fsck\n", fs->e2fs_fsmnt);
+					printf(
+"WARNING: R/W mount of %s denied. Filesystem is not clean - run fsck\n",
+					 fs->e2fs_fsmnt);
 					return (EPERM);
 				}
 			}
@@ -358,8 +358,9 @@
 	}
 	if (es->s_rev_level > EXT2_GOOD_OLD_REV) {
 		if (es->s_feature_incompat & ~EXT2_FEATURE_INCOMPAT_SUPP) {
-			printf("WARNING: mount of %s denied due to unsupported "
-			    "optional features\n", devtoname(dev));
+			printf(
+"WARNING: mount of %s denied due to unsupported optional features\n",
+			    devtoname(dev));
 			return (1);
 		}
 		if (!ronly &&
@@ -628,11 +629,11 @@
 	if ((es->s_state & EXT2_VALID_FS) == 0 ||
 	    (es->s_state & EXT2_ERROR_FS)) {
 		if (ronly || (mp->mnt_flag & MNT_FORCE)) {
-			printf("WARNING: Filesystem was not properly "
-			    "dismounted\n");
+			printf(
+"WARNING: Filesystem was not properly dismounted\n");
 		} else {
-			printf("WARNING: R/W mount denied.  Filesystem "
-			    "is not clean - run fsck\n");
+			printf(
+"WARNING: R/W mount denied.  Filesystem is not clean - run fsck\n");
 			error = EPERM;
 			goto out;
 		}


More information about the p4-projects mailing list