patch-2.4.3 linux/fs/romfs/inode.c
Next file: linux/fs/smbfs/ChangeLog
Previous file: linux/fs/reiserfs/tail_conversion.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Fri Mar  2 11:12:12 2001
-  Orig file: 
v2.4.2/linux/fs/romfs/inode.c
-  Orig date: 
Wed Feb 21 18:20:40 2001
diff -u --recursive --new-file v2.4.2/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -110,6 +110,9 @@
 	set_blocksize(dev, ROMBSIZE);
 	s->s_blocksize = ROMBSIZE;
 	s->s_blocksize_bits = ROMBSBITS;
+	s->u.generic_sbp = (void *) 0;
+	s->s_maxbytes = 0xFFFFFFFF;
+
 	bh = bread(dev, 0, ROMBSIZE);
 	if (!bh) {
 		/* XXX merge with other printk? */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)