[PATCH] 2.4.19-pre8 UFS Compile Fix

Marc-Christian Petersen (mcp@linux-systeme.de)
Mon, 20 May 2002 03:49:23 +0200


--------------Boundary-00=_BQZDOH72MMVDRY00QL0F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,

UFS isn't buildable with 2.4.19-pre8.
Patch is attached, fixes missing 4 commas.

This is also CC'ed to Marcello.

If this was reported before, i don't get it.

--=20
Kind regards
Marc-Christian Petersen

http://sourceforge.net/projects/wolk

PGP/GnuPG Key: 1024D/408B2D54947750EC
Fingerprint: 8602 69E0 A9C2 A509 8661 2B0B 408B 2D54 9477 50EC
Key available at wwwkeys.pgp.net. Encrypted e-mail preferred.

--------------Boundary-00=_BQZDOH72MMVDRY00QL0F
Content-Type: text/x-diff;
charset="us-ascii";
name="ufs-compile-fix.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ufs-compile-fix.patch"

--- linux-jp12/fs/ufs/super.c Wed May 15 00:27:01 2002
+++ linux/fs/ufs/super.c Mon May 20 00:32:22 2002
@@ -663,12 +663,12 @@
goto failed;
}
if (uspi->s_bsize < 512) {
- printk("ufs_read_super: fragment size %u is too small\n"
+ printk("ufs_read_super: fragment size %u is too small\n",
uspi->s_fsize);
goto failed;
}
if (uspi->s_bsize > 4096) {
- printk("ufs_read_super: fragment size %u is too large\n"
+ printk("ufs_read_super: fragment size %u is too large\n",
uspi->s_fsize);
goto failed;
}
@@ -678,12 +678,12 @@
goto failed;
}
if (uspi->s_bsize < 4096) {
- printk("ufs_read_super: block size %u is too small\n"
+ printk("ufs_read_super: block size %u is too small\n",
uspi->s_fsize);
goto failed;
}
if (uspi->s_bsize / uspi->s_fsize > 8) {
- printk("ufs_read_super: too many fragments per block (%u)\n"
+ printk("ufs_read_super: too many fragments per block (%u)\n",
uspi->s_bsize / uspi->s_fsize);
goto failed;
}

--------------Boundary-00=_BQZDOH72MMVDRY00QL0F--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/