[PATCH] UFS bugfix, blocksize=16384

Andrey Ulanov (drey@au.ru)
Mon, 18 Mar 2002 22:45:02 +0300


--- linux/fs/ufs/super.c.old Mon Feb 25 22:38:09 2002
+++ linux/fs/ufs/super.c Mon Mar 18 22:42:52 2002
@@ -654,8 +654,8 @@
uspi->s_fshift = fs32_to_cpu(sb, usb1->fs_fshift);

if (uspi->s_bsize != 4096 && uspi->s_bsize != 8192
- && uspi->s_bsize != 32768) {
- printk("ufs_read_super: fs_bsize %u != {4096, 8192, 32768}\n", uspi->s_bsize);
+ && uspi->s_bsize != 16384 && uspi->s_bsize != 32768) {
+ printk("ufs_read_super: fs_bsize %u != {4096, 8192, 16384, 32768}\n", uspi->s_bsize) goto failed;
}
if (uspi->s_fsize != 512 && uspi->s_fsize != 1024

-- 
with best regards, Andrey Ulanov.
drey<at>au.ru
-
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/