patch-2.2.11 linux/fs/super.c
Next file: linux/fs/ufs/balloc.c
Previous file: linux/fs/qnx4/symlinks.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Mon Aug 9 12:04:41 1999
- Orig file:
v2.2.10/linux/fs/super.c
- Orig date:
Thu May 13 23:25:58 1999
diff -u --recursive --new-file v2.2.10/linux/fs/super.c linux/fs/super.c
@@ -48,6 +48,7 @@
extern struct file_operations * get_blkfops(unsigned int major);
extern int root_mountflags;
+extern void rd_load_secondary(void);
static int do_remount_sb(struct super_block *sb, int flags, char * data);
@@ -104,7 +105,8 @@
lptr->mnt_dev = sb->s_dev;
lptr->mnt_flags = sb->s_flags;
- sema_init(&lptr->mnt_dquot.semaphore, 1);
+ sema_init(&lptr->mnt_dquot.dqio_sem, 1);
+ sema_init(&lptr->mnt_dquot.dqoff_sem, 1);
lptr->mnt_dquot.flags = 0;
/* N.B. Is it really OK to have a vfsmount without names? */
@@ -1160,9 +1162,9 @@
#ifdef CONFIG_BLK_DEV_FD
if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) {
-#ifdef CONFIG_BLK_DEV_RAM
+#ifdef CONFIG_BLK_DEV_RAM
extern int rd_doload;
-#endif
+#endif
floppy_eject();
#ifndef CONFIG_BLK_DEV_RAM
printk(KERN_NOTICE "(Warning, this kernel has no ramdisk support)\n");
@@ -1171,7 +1173,7 @@
if(rd_doload==2)
rd_load_secondary();
else
-#endif
+#endif
{
printk(KERN_NOTICE "VFS: Insert root floppy and press ENTER\n");
wait_for_keypress();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)