2002-03-05 06:35:28

by Zwane Mwaikambo

[permalink] [raw]
Subject: [PATCH] UFS blocksize fix

Looks like i got my test wrong in that last patch, pointed out by Andries
Brouwer (backing it out causes oopses with certain blocksizes).

Thanks,
Zwane

diffed against 2.4.19-pre2

--- linux-2.4.19/fs/ufs/super.c.orig Tue Mar 5 08:17:30 2002
+++ linux-2.4.19/fs/ufs/super.c Tue Mar 5 08:15:40 2002
@@ -597,7 +597,7 @@
}

again:
- if (!set_blocksize (sb->s_dev, block_size)) {
+ if (set_blocksize (sb->s_dev, block_size)) {
printk(KERN_ERR ""UFS: failed to set blocksize\n");
goto failed;
}