[PATCH] UFS blocksize fix

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Tue Mar 05 2002 - 01:21:17 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:38 EST