patch-2.4.4 linux/fs/udf/super.c
Next file: linux/fs/ufs/super.c
Previous file: linux/fs/udf/partition.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Apr 23 10:00:21 2001
- Orig file:
v2.4.3/linux/fs/udf/super.c
- Orig date:
Fri Mar 2 11:12:12 2001
diff -u --recursive --new-file v2.4.3/linux/fs/udf/super.c linux/fs/udf/super.c
@@ -201,7 +201,7 @@
char *opt, *val;
uopt->novrs = 0;
- uopt->blocksize = 512;
+ uopt->blocksize = 2048;
uopt->partition = 0xFFFF;
uopt->session = 0xFFFFFFFF;
uopt->lastblock = 0xFFFFFFFF;
@@ -344,8 +344,7 @@
udf_set_blocksize(struct super_block *sb, int bsize)
{
/* Use specified block size if specified */
- if (!(sb->s_blocksize = get_hardblocksize(sb->s_dev)))
- sb->s_blocksize = 2048;
+ sb->s_blocksize = get_hardsect_size(sb->s_dev);
if (bsize > sb->s_blocksize)
sb->s_blocksize = bsize;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)