Alan,
attached is a patch which cleans up a few small whitespace and formatting
issues, and a spelling error in the 2.2.18 ext2 code.

Cheers, Andreas
==========================================================================
--- linux/fs/ext2/inode.c.orig  Fri Jan  5 22:11:02 2001
+++ linux/fs/ext2/inode.c       Mon Jan 15 16:09:25 2001
@@ -659,9 +659,8 @@
        raw_inode->i_file_acl = cpu_to_le32(inode->u.ext2_i.i_file_acl);
        if (S_ISDIR(inode->i_mode))
                raw_inode->i_dir_acl = cpu_to_le32(inode->u.ext2_i.i_dir_acl);
-       else { 
+       else
                raw_inode->i_size_high = cpu_to_le32(inode->i_size >> 32);
-       }
        if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode))
                raw_inode->i_block[0] = cpu_to_le32(kdev_t_to_nr(inode->i_rdev));
        else for (block = 0; block < EXT2_N_BLOCKS; block++)
--- linux/fs/ext2/super.c.orig  Fri Jan  5 22:11:02 2001
+++ linux/fs/ext2/super.c       Mon Jan 15 16:44:36 2001
@@ -280,7 +280,7 @@
                else if (!strcmp (this_char, "resgid")) {
                        if (!value || !*value) {
                                printk ("EXT2-fs: the resgid option requires "
-                                       "an argument");
+                                       "an argument\n");
                                return 0;
                        }
                        *resgid = simple_strtoul (value, &value, 0);
@@ -293,7 +293,7 @@
                else if (!strcmp (this_char, "resuid")) {
                        if (!value || !*value) {
                                printk ("EXT2-fs: the resuid option requires "
-                                       "an argument");
+                                       "an argument\n");
                                return 0;
                        }
                        *resuid = simple_strtoul (value, &value, 0);
@@ -306,7 +306,7 @@
                else if (!strcmp (this_char, "sb")) {
                        if (!value || !*value) {
                                printk ("EXT2-fs: the sb option requires "
-                                       "an argument");
+                                       "an argument\n");
                                return 0;
                        }
                        *sb_block = simple_strtoul (value, &value, 0);
@@ -767,8 +767,8 @@
        sb->s_magic = le16_to_cpu(es->s_magic);
        if (sb->s_magic != EXT2_SUPER_MAGIC) {
                if (!silent)
-                       printk ("VFS: Can't find an ext2 filesystem on dev "
-                               "%s.\n", bdevname(dev));
+                       printk ("VFS: Can't find ext2 filesystem on dev %s.\n",
+                               bdevname(dev));
        failed_mount:
                sb->s_dev = 0;
                unlock_super (sb);
@@ -887,13 +887,13 @@
        }
        if (sb->s_blocksize != bh->b_size) {
                if (!silent)
-                       printk ("VFS: Unsupported blocksize on dev "
-                               "%s.\n", bdevname(dev));
+                       printk ("VFS: Unsupported blocksize on dev %s.\n",
+                               bdevname(dev));
                goto failed_mount;
        }
 
        if (sb->s_blocksize != sb->u.ext2_sb.s_frag_size) {
-               printk ("EXT2-fs: fragsize %lu != blocksize %lu (not supported yet)\n",
+               printk("EXT2-fs: fragsize %lu != blocksize %lu (unsupported)\n",
                        sb->u.ext2_sb.s_frag_size, sb->s_blocksize);
                goto failed_mount;
        }
--- linux/fs/ext2/fsync.c.orig  Sun Dec 10 17:49:44 2000
+++ linux/fs/ext2/fsync.c       Mon Jan 15 13:31:01 2001
@@ -45,7 +45,7 @@
        if (!bh)
                return 0;
        if (wait && buffer_req(bh) && !buffer_uptodate(bh)) {
-               /* There can be a parallell read(2) that started read-I/O
+               /* There can be a parallel read(2) that started read-I/O
                   on the buffer so we can't assume that there's been
                   an I/O error without first waiting I/O completation. */
                wait_on_buffer(bh);
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to