[PATCH] UFS blocksize fix

Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Tue, 5 Mar 2002 08:21:17 +0200 (SAST)


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;
}

-
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/