Commit 2ecc1c29 authored by Skip Ford's avatar Skip Ford Committed by Linus Torvalds

[PATCH] 2.5.34 ufs/super.c

This is needed since 2.5.32 to successfully mount a UFS partition.
parent 3843e047
...@@ -605,7 +605,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -605,7 +605,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
} }
again: again:
if (sb_set_blocksize(sb, block_size)) { if (!sb_set_blocksize(sb, block_size)) {
printk(KERN_ERR "UFS: failed to set blocksize\n"); printk(KERN_ERR "UFS: failed to set blocksize\n");
goto failed; goto failed;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment