Commit 6fe18669 authored by Alexander Viro's avatar Alexander Viro Committed by Russell King

[PATCH] ufs/super.c

D'oh.  Missing commas...
parent 97d649c1
...@@ -657,12 +657,12 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -657,12 +657,12 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
goto failed; goto failed;
} }
if (uspi->s_fsize < 512) { if (uspi->s_fsize < 512) {
printk("ufs_read_super: fragment size %u is too small\n" printk("ufs_read_super: fragment size %u is too small\n",
uspi->s_fsize); uspi->s_fsize);
goto failed; goto failed;
} }
if (uspi->s_fsize > 4096) { if (uspi->s_fsize > 4096) {
printk("ufs_read_super: fragment size %u is too large\n" printk("ufs_read_super: fragment size %u is too large\n",
uspi->s_fsize); uspi->s_fsize);
goto failed; goto failed;
} }
...@@ -672,12 +672,12 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -672,12 +672,12 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
goto failed; goto failed;
} }
if (uspi->s_bsize < 4096) { if (uspi->s_bsize < 4096) {
printk("ufs_read_super: block size %u is too small\n" printk("ufs_read_super: block size %u is too small\n",
uspi->s_fsize); uspi->s_fsize);
goto failed; goto failed;
} }
if (uspi->s_bsize / uspi->s_fsize > 8) { if (uspi->s_bsize / uspi->s_fsize > 8) {
printk("ufs_read_super: too many fragments per block (%u)\n" printk("ufs_read_super: too many fragments per block (%u)\n",
uspi->s_bsize / uspi->s_fsize); uspi->s_bsize / uspi->s_fsize);
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