[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: [PATCH] 2.3.99pre7-1 fs/super.c compilation
From: Francois romieu <romieu () ensta ! fr>
Date: 2000-04-30 22:08:33
[Download RAW message or body]
Problem :
- compile error with CONFIG_BLK_DEV_INITRD enabled.
struct dentry *old_root disappeared from function int __init change_root(
between 2.3.99pre6 and 2.3.99pre7-1. A printk still references it.
Fix :
- the newly introduced struct vfsmount *old_rootmnt should do the job.
Check :
- it compiles.
diff -u --recursive --new-file linux-2.3.99pre7-1.orig/fs/super.c linux-2.3.99pre7-1/fs/super.c
--- linux-2.3.99pre7-1.orig/fs/super.c Sat Apr 29 14:57:31 2000
+++ linux-2.3.99pre7-1/fs/super.c Sun Apr 30 23:29:10 2000
@@ -1564,7 +1564,8 @@
mount_root();
#if 1
shrink_dcache();
- printk("change_root: old root has d_count=%d\n", old_root->d_count);
+ printk("change_root: old root has d_count=%d\n",
+ old_rootmnt->mnt_root->d_count);
#endif
mount_devfs_fs ();
/*
--
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic