msdos module missing sym on 2.1.63 (patch)

Frank van de Pol (F.K.W.van.de.Pol@inter.nl.net)
Sat, 15 Nov 1997 12:48:18 +0100 (MET)


When trying the new 2.1.63 kernel, I found that the module for msdos failed
to load because of missing symbol shrink_dcache_parent.

Here's a (quick) hack to make it work:

===== CUT HERE ====

--- fs/msdos/namei.c.2.1.63 Sat Nov 15 12:32:26 1997
+++ fs/msdos/namei.c Sat Nov 15 12:32:26 1997
@@ -25,6 +25,10 @@
/* #define MSDOS_DEBUG 1 */
#define PRINTK(x)

+#ifndef shrink_dcache_parent
+#define shrink_dcache_parent(dentry) shrink_dcache_sb((dentry)->d_sb)
+#endif
+
/* MS-DOS "device special files" */

static const char *reserved_names[] = {

===== CUT HERE ====

Note: if the ext2 fs is to be compiled as module (who does???), it will also
fail on this missing shrink_dcache_parent. Same hack will work, but I'm not
able to test it.

Regards,
Frank.

========================---------------->
#define NAME "Frank van de Pol"
#define ADDRESS "mgr. Nelislaan 10"
#define CITY "4741 AB Hoeven"
#define COUNTRY "The Netherlands"
#define EMAIL "F.K.W.van.de.Pol@inter.NL.net

Linux - Why use Windows, since there is a door?