diff options
Diffstat (limited to 'fs/romfs/inode.c')
-rw-r--r-- | fs/romfs/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/romfs/inode.c b/fs/romfs/inode.c index 7edadf2ac..c9cdea972 100644 --- a/fs/romfs/inode.c +++ b/fs/romfs/inode.c @@ -110,6 +110,9 @@ romfs_read_super(struct super_block *s, void *data, int silent) 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? */ |