patch-2.4.19 linux-2.4.19/fs/hpfs/super.c
Next file: linux-2.4.19/fs/inode.c
Previous file: linux-2.4.19/fs/hpfs/hpfs_fn.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/fs/hpfs/super.c
- Orig date:
Mon Feb 25 11:38:08 2002
diff -urN linux-2.4.18/fs/hpfs/super.c linux-2.4.19/fs/hpfs/super.c
@@ -410,6 +410,8 @@
/*s->s_hpfs_mounting = 1;*/
dev = s->s_dev;
set_blocksize(dev, 512);
+ s->s_blocksize = 512;
+ s->s_blocksize_bits = 9;
s->s_hpfs_fs_size = -1;
if (!(bootblock = hpfs_map_sector(s, 0, &bh0, 0))) goto bail1;
if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2;
@@ -436,8 +438,6 @@
/* Fill superblock stuff */
s->s_magic = HPFS_SUPER_MAGIC;
- s->s_blocksize = 512;
- s->s_blocksize_bits = 9;
s->s_op = &hpfs_sops;
s->s_hpfs_root = superblock->root;
@@ -584,3 +584,4 @@
module_init(init_hpfs_fs)
module_exit(exit_hpfs_fs)
+MODULE_LICENSE("GPL");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)